diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-05-16 21:42:23 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-05-26 12:44:22 +0200 |
commit | 2996ca031efcd97ef9866186ae53e96ed75c9fbf (patch) | |
tree | e915ae4ebbf79b340ca089ae92d71b23c8627ab1 /config.tests/qpa/xcb-poll-for-queued-event/xcb-poll-for-queued-event.cpp | |
parent | 734c9f2df26b12b89c8a4de4ae43a15726ff1886 (diff) |
macOS: create application menu as QCocoaNSMenu with delegate
This way we can handle keyboard shortcuts for actions in that menu as
well in our menuHasKeyEquivalent implementation. This allows the focus
widget to accept the override, and e.g. a QKeySequenceEdit to record
Cmd+Q which with a plain NSMenu will just quit the application.
Pick-to: 6.3 6.2
Fixes: QTBUG-103590
Change-Id: I84597307aef8f0ab65d97d78e5aa15e5cf2e707d
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'config.tests/qpa/xcb-poll-for-queued-event/xcb-poll-for-queued-event.cpp')
0 files changed, 0 insertions, 0 deletions