diff --git a/sddm-theme/Login.qml b/sddm-theme/Login.qml index 49d6805d8..ee027b61b 100644 --- a/sddm-theme/Login.qml +++ b/sddm-theme/Login.qml @@ -102,7 +102,7 @@ SessionManagementScreen { Connections { target: sddm - onLoginFailed: { + function onLoginFailed() { passwordBox.selectAll() passwordBox.forceActiveFocus() } diff --git a/sddm-theme/Main.qml b/sddm-theme/Main.qml index 9910e7f9c..21f5d9e6b 100644 --- a/sddm-theme/Main.qml +++ b/sddm-theme/Main.qml @@ -494,13 +494,13 @@ PlasmaCore.ColorScope { Connections { target: sddm - onLoginFailed: { + function onLoginFailed() { notificationMessage = i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Login Failed") footer.enabled = true mainStack.enabled = true userListComponent.userList.opacity = 1 } - onLoginSucceeded: { + function onLoginSucceeded() { //note SDDM will kill the greeter at some random point after this //there is no certainty any transition will finish, it depends on the time it //takes to complete the init