plasma5-workspace/0007-Don-t-set-mode-here-otherwise-default-will-not-work.patch

28 lines
967 B
Diff

From c12f8ee26333c1ad7dc6c115a2a0dbfa3dc36975 Mon Sep 17 00:00:00 2001
From: Bhushan Shah <bhush94@gmail.com>
Date: Sun, 1 Mar 2015 21:38:03 +0530
Subject: [PATCH 07/12] Don't set mode here, otherwise default will not work
BUG: 344701
FIXED-IN: 5.2.2
---
lookandfeel/contents/components/LogoutOptions.qml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lookandfeel/contents/components/LogoutOptions.qml b/lookandfeel/contents/components/LogoutOptions.qml
index 50ead22d4502b80a391a5077b63e9d90040f89a6..22e9e8513d9e93c1b12c305407d9ea85096fcff3 100644
--- a/lookandfeel/contents/components/LogoutOptions.qml
+++ b/lookandfeel/contents/components/LogoutOptions.qml
@@ -32,7 +32,7 @@ PlasmaComponents.ButtonRow {
property bool canReboot
property bool canShutdown
property bool canLogout
- property string mode: "shutdown"
+ property string mode
onModeChanged: {
switch (mode) {
case "reboot":
--
2.3.1