From 1dc6d98aa3d7e0e5becee4e14e8f6f101e3bf0e4 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Wed, 5 Mar 2014 19:37:41 +0100 Subject: [PATCH] Allow shift in global shortcut --- .../kquickcontrols/private/keysequencehelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/declarativeimports/kquickcontrols/private/keysequencehelper.cpp b/src/declarativeimports/kquickcontrols/private/keysequencehelper.cpp index 160e9bf32..fcb3d742c 100644 --- a/src/declarativeimports/kquickcontrols/private/keysequencehelper.cpp +++ b/src/declarativeimports/kquickcontrols/private/keysequencehelper.cpp @@ -492,7 +492,7 @@ void KeySequenceHelper::keyPressed(int key, int modifiers) if ((key == Qt::Key_Backtab) && (d->modifierKeys & Qt::SHIFT)) { key = Qt::Key_Tab | d->modifierKeys; } else { - key |= (d->modifierKeys & ~Qt::SHIFT); + key |= (d->modifierKeys); } if (d->nKey == 0) {