From 166238c8b718e7ceb4c1647adad35755465ffeed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C3=A9cureuil?= Date: Mon, 15 Feb 2021 18:49:15 +0100 Subject: Do not show the user lists in mageia Theme --- Main.qml | 10 +--------- 1 file changed, 1 insertion(+), 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: { -- cgit v1.2.1