Commit 74713563 authored by David Edmundson's avatar David Edmundson

Fix kscreenlocker_greet --switchuser

Years ago support was added for the lockscreen to default into switch user
mode. The goal being to simplify one more task from ksmserver.

It got postponed because it clashed with a change Kai made at the time.
Now I'm restoring that.

The code broke in the lockscreen rewrite.

Test Plan:
Called the switchUser DBus method
Lockscreen spawned on the right page
Locked screen normally, got the normal page

Reviewers: #plasma, mart

Reviewed By: #plasma, mart

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 86e3748f
......@@ -256,6 +256,14 @@ PlasmaCore.ColorScope {
source: "MediaControls.qml"
Component.onCompleted: {
if (defaultToSwitchUser) { //context property
item: switchSessionPage,
immediate: true});
Loader {
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