summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2021-02-15 18:49:15 +0100
committerNicolas Lécureuil <neoclust@mageia.org>2021-02-15 18:49:15 +0100
commit166238c8b718e7ceb4c1647adad35755465ffeed (patch)
treed11a94c43c4f4886e669b72af59953993e9453a0
parentdb43f0697adbeccab9d2a46ceb527fe3bb32fbc3 (diff)
downloadmageia-sddm-166238c8b718e7ceb4c1647adad35755465ffeed.tar
mageia-sddm-166238c8b718e7ceb4c1647adad35755465ffeed.tar.gz
mageia-sddm-166238c8b718e7ceb4c1647adad35755465ffeed.tar.bz2
mageia-sddm-166238c8b718e7ceb4c1647adad35755465ffeed.tar.xz
mageia-sddm-166238c8b718e7ceb4c1647adad35755465ffeed.zip
Do not show the user lists in mageia Theme
-rw-r--r--Main.qml10
1 files changed, 1 insertions, 9 deletions
diff --git a/Main.qml b/Main.qml
index f98d74a..6ab23e4 100644
--- a/Main.qml
+++ b/Main.qml
@@ -181,15 +181,7 @@ PlasmaCore.ColorScope {
userListCurrentIndex: userModel.lastIndex >= 0 ? userModel.lastIndex : 0
lastUserName: userModel.lastUser
showUserList: {
- if ( !userListModel.hasOwnProperty("count")
- || !userListModel.hasOwnProperty("disableAvatarsThreshold"))
- return (userList.y + mainStack.y) > 0
-
- if ( userListModel.count === 0 ) return false
-
- if ( userListModel.hasOwnProperty("containsAllUsers") && !userListModel.containsAllUsers ) return false
-
- return userListModel.count <= userListModel.disableAvatarsThreshold && (userList.y + mainStack.y) > 0
+ return false
}
notificationMessage: {