Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit ef4d160e authored by Dmitry Kazakov's avatar Dmitry Kazakov

When resending keys on focus in event, use ShortcutOverride instead of KeyPress

KisInputManager doesn't listen to KeyPress'es, so there is no reason to
send them
parent 62b1c189
......@@ -325,7 +325,7 @@ bool KisInputManager::eventFilterImpl(QEvent * event)
Qt::KeyboardModifiers modifiers = mapper.queryStandardModifiers();
Q_FOREACH (Qt::Key key, mapper.queryExtendedModifiers()) {
QKeyEvent kevent(QEvent::KeyPress, key, modifiers);
QKeyEvent kevent(QEvent::ShortcutOverride, key, modifiers);
eventFilterImpl(&kevent);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment