You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sddm/0049-Set-showPassword-accor...

26 lines
889 B

From a823ae659f705e80546444a7e991c92b54e48826 Mon Sep 17 00:00:00 2001
From: Leonardo <leonardo.guilherme@gmail.com>
Date: Wed, 11 Mar 2015 12:21:00 -0300
Subject: [PATCH 49/70] Set showPassword according to needsPassword role in
maui theme
---
data/themes/maui/Main.qml | 1 +
1 file changed, 1 insertion(+)
diff --git a/data/themes/maui/Main.qml b/data/themes/maui/Main.qml
index 89c443c..9b3bc78 100644
--- a/data/themes/maui/Main.qml
+++ b/data/themes/maui/Main.qml
@@ -72,6 +72,7 @@ Rectangle {
anchors.verticalCenter: parent.verticalCenter
name: (model.realName === "") ? model.name : model.realName
icon: model.icon
+ showPassword: model.needsPassword
focus: (listView.currentIndex === index) ? true : false
state: (listView.currentIndex === index) ? "active" : ""
--
2.4.3