macOS: Remove WA_MacVariableSize widget attribute

It was used for the deprecated HI-based theming, removed
in 50428e9727.

Change-Id: Ic0c216c2c056de81c85bcb1e724c0b8ecb8ac7ec
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
bb10
Tor Arne Vestbø 2020-10-05 13:38:20 +02:00
parent 31a2398e1d
commit 500ce08b3c
2 changed files with 1 additions and 5 deletions

View File

@ -402,7 +402,7 @@ namespace Qt {
WA_NativeWindow = 100,
WA_DontCreateNativeAncestors = 101,
WA_MacVariableSize = 102, // Mac only
// Formerly WA_MacVariableSize = 102, // Mac only
WA_DontShowOnScreen = 103,

View File

@ -1011,10 +1011,6 @@
size for widgets in \macos. This attribute is only applicable to
\macos.
\value WA_MacVariableSize Indicates the widget can choose between
alternative sizes for widgets to avoid clipping.
This attribute is only applicable to \macos.
\value WA_Mapped Indicates that the widget is mapped on screen.
This is set/cleared by the Qt kernel.