diff options
-rwxr-xr-x | opentrack/win32-shortcuts.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/opentrack/win32-shortcuts.cpp b/opentrack/win32-shortcuts.cpp index 67f71f41..15e6c66c 100755 --- a/opentrack/win32-shortcuts.cpp +++ b/opentrack/win32-shortcuts.cpp @@ -116,7 +116,6 @@ bool win_key::from_qt(QKeySequence qt_, int& dik, Qt::KeyboardModifiers& mods) { auto qt = static_cast<QVariant>(qt_).toInt(); auto our_mods = qt & Qt::KeyboardModifierMask; -#ifdef _WIN32 const auto our_mods_ = our_mods; our_mods |= Qt::ShiftModifier; switch (qt & ~Qt::KeyboardModifierMask) @@ -145,7 +144,6 @@ bool win_key::from_qt(QKeySequence qt_, int& dik, Qt::KeyboardModifiers& mods) case Qt::Key::Key_Bar: qt = Qt::Key::Key_Backslash; break; default: our_mods = our_mods_; break; } -#endif const auto key = qt & ~Qt::KeyboardModifierMask; for (auto& wk : windows_key_sequences) |