diff options
Diffstat (limited to 'gui/keyboard.cpp')
-rw-r--r-- | gui/keyboard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/keyboard.cpp b/gui/keyboard.cpp index aa8f67a3..dbc3ab3a 100644 --- a/gui/keyboard.cpp +++ b/gui/keyboard.cpp @@ -19,7 +19,7 @@ auto keyboard_listener::make_token() Qt::KeyboardModifiers m; QKeySequence k_; if (win_key::to_qt(k, k_, m)) - emit key_pressed({ int(m), int(k_) }); + emit key_pressed({ int(m) | int(k_) }); } }; } |