diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2016-12-14 21:08:28 +0100 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2016-12-14 21:08:28 +0100 |
commit | 816e5aac5030c3f3dd5ae8ae11eb3c97e034f68c (patch) | |
tree | e89ba23c378ff26b97215ad3eb0eb517fdee53a0 /src/mainwindow.h | |
parent | c9d6ba41b14f346a729436c9b546d3d34baec510 (diff) | |
parent | 703866c9ceb41615865094d69ad13ee8d327b1df (diff) |
Merge branch 'master' into feature/testing
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index f09d4e98..ef1117ac 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -21,6 +21,13 @@ #define SingleApplication QApplication #endif +#ifdef __APPLE__ +#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) +// http://doc.qt.io/qt-5/qkeysequence.html#qt_set_sequence_auto_mnemonic +void qt_set_sequence_auto_mnemonic(bool b); +#endif +#endif + namespace Ui { class MainWindow; } |