Commit 16139469 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

No need to unnecessarily delay KSldApp::lockScreenShown

It's always emitted after the execution of the current function.

Also it breaks kwin's modifier_only_shortcut_test.
parent 9bf6f46b
......@@ -650,14 +650,7 @@ void KSldApp::showLockWindow()
}
m_lockWindow->setGlobalAccel(m_globalAccel);
connect(
m_lockWindow,
&AbstractLocker::lockWindowShown,
m_lockWindow,
[this] {
lockScreenShown();
},
Qt::QueuedConnection);
connect(m_lockWindow, &AbstractLocker::lockWindowShown, this, &KSldApp::lockScreenShown);
connect(m_waylandServer, &WaylandServer::x11WindowAdded, m_lockWindow, &AbstractLocker::addAllowedWindow);
}
......
Supports Markdown
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