summaryrefslogtreecommitdiffstats
path: root/examples/widgets
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-01-22 16:43:47 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-01-23 23:36:25 +0000
commitd31910709c568d4f4e01a341196c3bffbeb7aae0 (patch)
tree1ed145453f1f561af82aca2cb44c0fc3244494ce /examples/widgets
parent5b9f6862b1aa474a392203c69f6db678d633cecf (diff)
macOS: Decide enabled state of menu items correctly
We use automatic menu enabling, so the only property that should define whether the item in the menu is enabled or not is QCocoaMenuItem::enabled, which will then get read from validateMenuItem:, and synced to the native menu item by AppKit. Change-Id: I860d05bf4675c9bc2058d2ede44b5ac3551453b6 Fixes: QTBUG-81375 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'examples/widgets')
0 files changed, 0 insertions, 0 deletions