From 500ce08b3ccb2db0913d4aa570031c244759805d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Mon, 5 Oct 2020 13:38:20 +0200 Subject: [PATCH] macOS: Remove WA_MacVariableSize widget attribute It was used for the deprecated HI-based theming, removed in 50428e97270ad7c87439af599dce33b697c8cc44. Change-Id: Ic0c216c2c056de81c85bcb1e724c0b8ecb8ac7ec Reviewed-by: Timur Pocheptsov --- src/corelib/global/qnamespace.h | 2 +- src/corelib/global/qnamespace.qdoc | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h index 293857cb18..2cbe482fd4 100644 --- a/src/corelib/global/qnamespace.h +++ b/src/corelib/global/qnamespace.h @@ -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, diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index 5f0755efa7..c81608ab4d 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -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.