diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2024-02-26 12:46:35 +0800 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2024-03-15 13:32:47 +0800 |
commit | f1bb9cfbf65ab56b67b5a52fa736071e0e534261 (patch) | |
tree | de6002be991ccca5d24568b00dc67df47a2371de /src/corelib/global/qnamespace.h | |
parent | df24438e6a2adb344d78628e7a79432f88fab5e9 (diff) |
Add AA_DontUseNativeMenuWindows
Also add some categorized logging output to make it easier
to check if native menus are being created.
[ChangeLog][Qt Core] Added AA_DontUseNativeMenuWindows
application attribute. Menu popup windows (e.g. context menus,
combo box menus, and non-native menubar menus) created while this
attribute is set to true will not be represented as native top level
windows, unless required by the implementation.
Task-number: QTBUG-69558
Change-Id: Iba11b89c67d942ce6c5a28a7c57a86e63c020618
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/global/qnamespace.h')
-rw-r--r-- | src/corelib/global/qnamespace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h index 33b2a69709..3b4daa0f8f 100644 --- a/src/corelib/global/qnamespace.h +++ b/src/corelib/global/qnamespace.h @@ -463,6 +463,7 @@ namespace Qt { AA_CompressTabletEvents = 29, // AA_DisableWindowContextHelpButton = 30, AA_DisableSessionManager = 31, + AA_DontUseNativeMenuWindows = 32, // Add new attributes before this line AA_AttributeCount |