Formatting

This commit is contained in:
Jonas Kvinge
2021-08-23 21:21:08 +02:00
parent ed7794f396
commit ea2bfbda44
111 changed files with 833 additions and 425 deletions

View File

@@ -93,10 +93,12 @@ bool GlobalShortcutGrabber::event(QEvent *e) {
if (e->type() == QEvent::ShortcutOverride) {
QKeyEvent *ke = static_cast<QKeyEvent*>(e);
if (modifier_keys_.contains(ke->key()))
if (modifier_keys_.contains(ke->key())) {
ret_ = QKeySequence(ke->modifiers());
else
}
else {
ret_ = QKeySequence(ke->modifiers() | ke->key());
}
UpdateText();