summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/keyboard.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-25 05:56:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-25 05:56:55 +0200
commit0a41cdc4d9bfaea20cfe07d71070f235c3bb8de6 (patch)
treefd51bfd6fad7531532904ca541e9b28124e5b104 /facetracknoir/keyboard.h
parent1ac8544eaa1e67baa05651e2c9c7ab0888b1cc57 (diff)
shortcuts: allow for modifier keys
Diffstat (limited to 'facetracknoir/keyboard.h')
-rw-r--r--facetracknoir/keyboard.h2
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);