diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-02 08:20:47 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-02 09:34:17 +0200 |
commit | f2faf7acf4445fef2a149ebbdecb569a2d119d94 (patch) | |
tree | 6629ba211a70a54a0ab82f6c4f4de08504072951 /logic/win32-shortcuts.cpp | |
parent | 66e75860d0c54baa39ed789442b09b96eeebe2e6 (diff) |
nothing important
Diffstat (limited to 'logic/win32-shortcuts.cpp')
-rw-r--r-- | logic/win32-shortcuts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/win32-shortcuts.cpp b/logic/win32-shortcuts.cpp index 170d16fe..11764807 100644 --- a/logic/win32-shortcuts.cpp +++ b/logic/win32-shortcuts.cpp @@ -119,7 +119,7 @@ static const win_key windows_key_sequences[] { { DIK_PAUSE, Qt::Key_Pause}, { DIK_NUMLOCK, Qt::Key_NumLock}, { DIK_CAPSLOCK, Qt::Key_CapsLock}, -#define mod(x, y) static_cast<Qt::Key>((x) | (y)) +#define mod(x, y) Qt::Key(int(x) | int((y))) { DIK_NUMPAD0, mod(Qt::Key_0, Qt::KeypadModifier)}, { DIK_NUMPAD0, mod(Qt::Key_0, Qt::KeypadModifier)}, { DIK_NUMPAD1, mod(Qt::Key_1, Qt::KeypadModifier)}, |