diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-01-22 17:35:06 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-01-24 00:36:17 +0100 |
commit | 5b9f6862b1aa474a392203c69f6db678d633cecf (patch) | |
tree | b30b562ed27a1d3b22d8007506620115a96d1b68 /src/plugins/platforms/cocoa/qcocoamenu.mm | |
parent | cb3152086c61e7c51ed1c5f8c5946364e19abc4d (diff) |
Mac: disable application menu items during modal session
The default menu items in the application menu are not part of a
traversable menu object hierarchy, so we never find a menubar.
Since that is only the case for those items, we can disable them
during any modal session.
Change-Id: Ie8d8db274176237de664c6e5ebfe5015e13800e4
Fixes: QTBUG-80273
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoamenu.mm')
0 files changed, 0 insertions, 0 deletions