Fix use of deprecated QML feature in sddm-theme

wilder-portage-prov
Daan De Meyer 6 years ago committed by Nate Graham
parent 6cd25ded99
commit 31eb253ba1
  1. 2
      sddm-theme/Login.qml
  2. 4
      sddm-theme/Main.qml

@ -102,7 +102,7 @@ SessionManagementScreen {
Connections { Connections {
target: sddm target: sddm
onLoginFailed: { function onLoginFailed() {
passwordBox.selectAll() passwordBox.selectAll()
passwordBox.forceActiveFocus() passwordBox.forceActiveFocus()
} }

@ -494,13 +494,13 @@ PlasmaCore.ColorScope {
Connections { Connections {
target: sddm target: sddm
onLoginFailed: { function onLoginFailed() {
notificationMessage = i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Login Failed") notificationMessage = i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Login Failed")
footer.enabled = true footer.enabled = true
mainStack.enabled = true mainStack.enabled = true
userListComponent.userList.opacity = 1 userListComponent.userList.opacity = 1
} }
onLoginSucceeded: { function onLoginSucceeded() {
//note SDDM will kill the greeter at some random point after this //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 //there is no certainty any transition will finish, it depends on the time it
//takes to complete the init //takes to complete the init

Loading…
Cancel
Save