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 {
target: sddm
onLoginFailed: {
function onLoginFailed() {
passwordBox.selectAll()
passwordBox.forceActiveFocus()
}

@ -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

Loading…
Cancel
Save