Commit 913142c5 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Logout Dialog] Honor "Offer shutdown options"

"maysd" stands for "may shut down" apparently.
Kickoff already removed the options in this case but clicking "Logout" yields the new dialog
which offers them all again.

Differential Revision:
parent e0d163bb
......@@ -168,6 +168,7 @@ PlasmaCore.ColorScope {
KeyNavigation.left: suspendButton
KeyNavigation.right: shutdownButton
focus: sdtype == ShutdownType.ShutdownTypeReboot
visible: maysd
LogoutButton {
id: shutdownButton
......@@ -177,6 +178,7 @@ PlasmaCore.ColorScope {
KeyNavigation.left: rebootButton
KeyNavigation.right: logoutButton
focus: sdtype == ShutdownType.ShutdownTypeHalt
visible: maysd
LogoutButton {
id: logoutButton
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