summaryrefslogtreecommitdiffstats
path: root/src/widgets/to_be_moved/qshortcut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/to_be_moved/qshortcut.cpp')
-rw-r--r--src/widgets/to_be_moved/qshortcut.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/to_be_moved/qshortcut.cpp b/src/widgets/to_be_moved/qshortcut.cpp
index 041bde30b1..f66c87dd13 100644
--- a/src/widgets/to_be_moved/qshortcut.cpp
+++ b/src/widgets/to_be_moved/qshortcut.cpp
@@ -172,7 +172,7 @@ void QShortcutPrivate::redoGrab(QShortcutMap &map)
map.removeShortcut(sc_id, q);
if (sc_sequence.isEmpty())
return;
- sc_id = map.addShortcut(q, sc_sequence, sc_context);
+ sc_id = map.addShortcut(q, sc_sequence, sc_context, qWidgetShortcutContextMatcher);
if (!sc_enabled)
map.setShortcutEnabled(false, sc_id, q);
if (!sc_autorepeat)