diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-09 17:14:02 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-10 03:18:58 +0100 |
commit | 7d101a1c2827b5e7a373fb0d0a68099fb692e55a (patch) | |
tree | 3489a2988806a02a9ef31760116de104f94582c6 /logic/win32-shortcuts.cpp | |
parent | 674c8a9f1a42b36940551a6ebaf953ad96d379d0 (diff) |
many: spring cleanup
Diffstat (limited to 'logic/win32-shortcuts.cpp')
-rw-r--r-- | logic/win32-shortcuts.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/logic/win32-shortcuts.cpp b/logic/win32-shortcuts.cpp index 901d2c0a..2099ce09 100644 --- a/logic/win32-shortcuts.cpp +++ b/logic/win32-shortcuts.cpp @@ -12,11 +12,10 @@ # include <dinput.h> #include "win32-shortcuts.h" -#include <QList> #include <QVariant> #include <QDebug> -QList<win_key> windows_key_mods { +win_key const windows_key_mods[] { {DIK_LCONTROL, Qt::Key_Control}, {DIK_RCONTROL, Qt::Key_Control}, {DIK_LALT, Qt::Key_Alt}, @@ -27,7 +26,7 @@ QList<win_key> windows_key_mods { {DIK_RWIN, Qt::Key_Super_R}, }; -QList<win_key> windows_key_sequences { +static const win_key windows_key_sequences[] { { DIK_F1, Qt::Key_F1 }, { DIK_F2, Qt::Key_F2 }, { DIK_F3, Qt::Key_F3 }, |