diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-25 05:56:46 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-25 05:56:55 +0200 |
commit | 0a41cdc4d9bfaea20cfe07d71070f235c3bb8de6 (patch) | |
tree | fd51bfd6fad7531532904ca541e9b28124e5b104 | |
parent | 1ac8544eaa1e67baa05651e2c9c7ab0888b1cc57 (diff) |
shortcuts: allow for modifier keys
-rw-r--r-- | facetracknoir/keyboard.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/keyboard.h b/facetracknoir/keyboard.h index 65f5c58e..ccfd7a84 100644 --- a/facetracknoir/keyboard.h +++ b/facetracknoir/keyboard.h @@ -26,7 +26,7 @@ public: default: break; } } - emit key_pressed(QKeySequence(event->key())); + emit key_pressed(QKeySequence(event->key() | event->modifiers())); } signals: void key_pressed(QKeySequence k); |