on xenial help sign in
fix
commiteaa1d400e228ab7d6bbf53e199e0f6a0d0069363 authorAlbert Astals Cid <albert.astals@canonical.com> dateFri 19 Feb 2016, 16:28 (11 years ago) parent8437a8f
1 file changed+1−1
plugins/GlobalShortcut/globalshortcutregistry.cpp+1−1
plugins/GlobalShortcut/globalshortcutregistry.cpp+1−1
@@ -75,7 +75,7 @@ bool GlobalShortcutRegistry::eventFilter(QObject *obj, QEvent *event)
7575
7676 if (event->type() == QEvent::KeyPress) {
7777 QKeyEvent *keyEvent = static_cast<QKeyEvent*>(event);
78− QKeySequence seq = QKeySequence(keyEvent->key() + keyEvent->modifiers());
78+ int seq = keyEvent->key() + keyEvent->modifiers();
7979 if (m_shortcuts.contains(seq)) {
8080 const auto shortcuts = m_shortcuts.value(seq);
8181 Q_FOREACH(const auto &shortcut, shortcuts) {