diff options
author | Volker Hilsheimer <[email protected]> | 2020-01-22 16:43:47 +0100 |
---|---|---|
committer | Tor Arne Vestbø <[email protected]> | 2020-01-23 23:36:25 +0000 |
commit | d31910709c568d4f4e01a341196c3bffbeb7aae0 (patch) | |
tree | 1ed145453f1f561af82aca2cb44c0fc3244494ce /examples/widgets/doc/src | |
parent | 5b9f6862b1aa474a392203c69f6db678d633cecf (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ø <[email protected]>
Diffstat (limited to 'examples/widgets/doc/src')
0 files changed, 0 insertions, 0 deletions