From 5997ba21f252385665697bca333dd35deae9c13c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Wed, 13 Apr 2016 22:04:14 +0200 Subject: [PATCH] Fixed OS X fullscreen shortcut (F11 collides with a system shortcut) --- src/keys.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/keys.h b/src/keys.h index 5c9c9d96..90ced003 100644 --- a/src/keys.h +++ b/src/keys.h @@ -21,6 +21,10 @@ #define NEXT_MAP_SHORTCUT QKeySequence::Forward #define PREV_MAP_SHORTCUT QKeySequence::Back #define SHOW_GRAPHS_SHORTCUT QKeySequence(Qt::CTRL + Qt::Key_G) +#ifdef Q_OS_MAC +#define FULLSCREEN_SHORTCUT QKeySequence(Qt::META + Qt::CTRL + Qt::Key_F) +#else // Q_OS_MAC #define FULLSCREEN_SHORTCUT QKeySequence(Qt::Key_F11) +#endif // Q_OS_MAC #endif // KEYS_H