summaryrefslogtreecommitdiffhomepage
path: root/gui/keyboard.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-11-14 12:46:52 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-11-14 12:51:18 +0100
commit801bb3b40a70b87b6c9e2c1b1d7d2ba2b7ba8d59 (patch)
tree9741019b3bc3d2f52ed449c977ecf50cc2224f88 /gui/keyboard.cpp
parent1171d33839f67c903f108fc25d43f7855fee209b (diff)
gui/keyboard: fix binding keys
Diffstat (limited to 'gui/keyboard.cpp')
-rw-r--r--gui/keyboard.cpp2
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_) });
}
};
}