diff --git a/Main.qml b/Main.qml index 46381a9..edfb49a 100644 --- a/Main.qml +++ b/Main.qml @@ -292,23 +292,6 @@ Rectangle { return userListModel.count <= userListModel.disableAvatarsThreshold && (userList.y + mainStack.y) > 0 } - - notificationMessage: { - var text = "" - if (keystateSource.data["Caps Lock"]["Locked"]) { - text += i18nd("plasma_lookandfeel_org.kde.lookandfeel","Caps Lock is on") - if (root.notificationMessage) { - text += " • " - } - } - text += root.notificationMessage - return text - } - - onLoginRequest: { - root.notificationMessage = "" - sddm.login(username, password, sessionButton.currentIndex) - } } Behavior on opacity { @@ -458,7 +441,6 @@ Rectangle { id: userPromptComponent Login { showUsernamePrompt: true - notificationMessage: root.notificationMessage loginScreenUiVisible: loginScreenRoot.uiVisible fontSize: parseInt(config.fontSize) + 2 @@ -473,12 +455,6 @@ Rectangle { setProperty(0, "name", i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Type in Username and Password")); } } - - onLoginRequest: { - root.notificationMessage = "" - sddm.login(username, password, sessionButton.currentIndex) - } - } }