summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoatheme.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-07-07 17:13:45 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-07-08 01:09:38 +0200
commit1c8953e52074e7b377c27fe167f4e00729bb2ad6 (patch)
tree6049fdb570510301d5cd5565cff0b2584a7dda58 /src/plugins/platforms/cocoa/qcocoatheme.h
parente255146183d3a1dd9491fd4090cdf4a5244ce754 (diff)
macOS: Move AA_MacDontSwapCtrlAndMeta logic out of QPlatformTheme
Change-Id: Ia36f60587d98902406de7de8acdc3c4521cfd05a Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoatheme.h')
-rw-r--r--src/plugins/platforms/cocoa/qcocoatheme.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoatheme.h b/src/plugins/platforms/cocoa/qcocoatheme.h
index 50e56ef1bf..f6276e3d1a 100644
--- a/src/plugins/platforms/cocoa/qcocoatheme.h
+++ b/src/plugins/platforms/cocoa/qcocoatheme.h
@@ -80,6 +80,10 @@ public:
void handleSystemThemeChange();
+#ifndef QT_NO_SHORTCUT
+ QList<QKeySequence> keyBindings(QKeySequence::StandardKey key) const override;
+#endif
+
private:
mutable QPalette *m_systemPalette;
QMacNotificationObserver m_systemColorObserver;