Simplify WaylandServer::initWorkspace()
If kscreenlocker integration is on, the initialized() signal can be still emitted in WaylandServer::initWorkspace().
This commit is contained in:
parent
d941c97d8e
commit
65e8c0c737
1 changed files with 1 additions and 3 deletions
|
@ -580,9 +580,8 @@ void WaylandServer::initWorkspace()
|
|||
|
||||
if (hasScreenLockerIntegration()) {
|
||||
initScreenLocker();
|
||||
} else {
|
||||
Q_EMIT initialized();
|
||||
}
|
||||
Q_EMIT initialized();
|
||||
}
|
||||
|
||||
void WaylandServer::initScreenLocker()
|
||||
|
@ -632,7 +631,6 @@ void WaylandServer::initScreenLocker()
|
|||
if (m_initFlags.testFlag(InitializationFlag::LockScreen)) {
|
||||
ScreenLocker::KSldApp::self()->lock(ScreenLocker::EstablishLock::Immediate);
|
||||
}
|
||||
Q_EMIT initialized();
|
||||
}
|
||||
|
||||
WaylandServer::SocketPairConnection WaylandServer::createConnection()
|
||||
|
|
Loading…
Reference in a new issue