diff options
Diffstat (limited to 'opentrack')
-rwxr-xr-x[-rw-r--r--] | opentrack/win32-shortcuts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/win32-shortcuts.cpp b/opentrack/win32-shortcuts.cpp index 64ff01dc..67f71f41 100644..100755 --- a/opentrack/win32-shortcuts.cpp +++ b/opentrack/win32-shortcuts.cpp @@ -119,7 +119,7 @@ bool win_key::from_qt(QKeySequence qt_, int& dik, Qt::KeyboardModifiers& mods) #ifdef _WIN32 const auto our_mods_ = our_mods; our_mods |= Qt::ShiftModifier; - switch (qt & ~Qt::ShiftModifier) + switch (qt & ~Qt::KeyboardModifierMask) { case Qt::Key::Key_BraceLeft: qt = Qt::Key::Key_BracketLeft; break; case Qt::Key::Key_BraceRight: qt = Qt::Key::Key_BracketRight; break; |