[wayland] Adapt to changes in the kscreenlocker
Initialize is no longer called by KSldApp ctor, and also pass KWayland::Server::Display* to KSldApp. Reviewed-By: Martin Gräßlinicc-effect-5.14.5
parent
3a8d7d866a
commit
c957b145a4
|
@ -210,7 +210,10 @@ void WaylandServer::initWorkspace()
|
|||
}
|
||||
);
|
||||
}
|
||||
|
||||
ScreenLocker::KSldApp::self();
|
||||
ScreenLocker::KSldApp::self()->setWaylandDisplay(m_display);
|
||||
ScreenLocker::KSldApp::self()->initialize();
|
||||
if (m_initFlags.testFlag(InitalizationFlag::LockScreen)) {
|
||||
ScreenLocker::KSldApp::self()->lock(ScreenLocker::EstablishLock::Immediate);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue