mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Emit globalShortcutTriggered() directly.
There is no need for a queued connection call.
This commit is contained in:
parent
f98d834edb
commit
85d532953f
@ -155,7 +155,7 @@ int AutoTypePlatformX11::platformEventFilter(void* event)
|
||||
if (xevent->type == KeyPress && m_currentGlobalKey && xevent->xkey.keycode == m_currentGlobalKeycode
|
||||
&& (xevent->xkey.state & m_modifierMask) == m_currentGlobalNativeModifiers
|
||||
&& !QApplication::focusWidget()) {
|
||||
QMetaObject::invokeMethod(this, "globalShortcutTriggered", Qt::QueuedConnection);
|
||||
Q_EMIT globalShortcutTriggered();
|
||||
return 1;
|
||||
}
|
||||
if (xevent->type == MappingNotify) {
|
||||
|
Loading…
Reference in New Issue
Block a user