Commit a2cc43ec authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[User Switcher] Honor Kiosk restriction for user_manager

If user_manager KCM is disallowed, don't indicate that the avatar can be clicked
parent 88973150
......@@ -166,7 +166,7 @@ Item {
subText: i18n("Current user")
icon: kuser.faceIconUrl.toString() || "user-identity"
interactive: false
interactiveIcon: true
interactiveIcon: KCMShell.authorize("user_manager.desktop").length > 0
usesPlasmaTheme: false
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