mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 19:52:09 +01:00
Make the fullscreen shortcut more standard
(+ fix Travis CI OS X build)
This commit is contained in:
parent
723f2060a3
commit
86993863c5
@ -28,11 +28,8 @@
|
|||||||
#define PREV_MAP_SHORTCUT QKeySequence(QKeySequence::Back)
|
#define PREV_MAP_SHORTCUT QKeySequence(QKeySequence::Back)
|
||||||
#define SHOW_GRAPHS_SHORTCUT QKeySequence(Qt::CTRL + Qt::Key_G)
|
#define SHOW_GRAPHS_SHORTCUT QKeySequence(Qt::CTRL + Qt::Key_G)
|
||||||
#define STATISTICS_SHORTCUT QKeySequence(Qt::CTRL + Qt::Key_S)
|
#define STATISTICS_SHORTCUT QKeySequence(Qt::CTRL + Qt::Key_S)
|
||||||
|
#define FULLSCREEN_SHORTCUT (QKeySequence(QKeySequence::FullScreen).isEmpty() \
|
||||||
#ifdef Q_OS_MAC
|
? QKeySequence(Qt::Key_F11) \
|
||||||
#define FULLSCREEN_SHORTCUT QKeySequence(Qt::META + Qt::CTRL + Qt::Key_F)
|
: QKeySequence(QKeySequence::FullScreen))
|
||||||
#else // Q_OS_MAC
|
|
||||||
#define FULLSCREEN_SHORTCUT QKeySequence(Qt::Key_F11)
|
|
||||||
#endif // Q_OS_MAC
|
|
||||||
|
|
||||||
#endif // KEYS_H
|
#endif // KEYS_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user