summaryrefslogtreecommitdiffstats
path: root/config.tests/qpa/xcb-poll-for-queued-event/xcb-poll-for-queued-event.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2022-05-16 21:42:23 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2022-05-26 12:44:22 +0200
commit2996ca031efcd97ef9866186ae53e96ed75c9fbf (patch)
treee915ae4ebbf79b340ca089ae92d71b23c8627ab1 /config.tests/qpa/xcb-poll-for-queued-event/xcb-poll-for-queued-event.cpp
parent734c9f2df26b12b89c8a4de4ae43a15726ff1886 (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