From 5b2cc3fb8f6d81e8dc02b80521dce03fe3e7927e Mon Sep 17 00:00:00 2001 From: Pier Luigi Fiorini Date: Wed, 17 Jan 2024 19:37:55 +0100 Subject: [PATCH] lockscreen: Follow shell integration updates --- src/lockscreen/qml/LockScreenWindow.qml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lockscreen/qml/LockScreenWindow.qml b/src/lockscreen/qml/LockScreenWindow.qml index 3b53fd54..de9faab5 100644 --- a/src/lockscreen/qml/LockScreenWindow.qml +++ b/src/lockscreen/qml/LockScreenWindow.qml @@ -17,9 +17,7 @@ import Liri.QtShellIntegration Window { id: lockScreenWindow - SessionLockSurfaceV1 { - id: lockSurface - } + SessionLockSurface.enabled: true color: lockSettings.primaryColor visible: true @@ -141,7 +139,7 @@ Window { if (succeeded) { usersListView.currentItem.busyIndicator.opacity = 0.0; usersListView.loginSucceeded(); - lockSurface.unlockRequested(); + SessionLockSurface.unlockRequested(); } else { usersListView.currentItem.busyIndicator.opacity = 0.0; usersListView.currentItem.field.text = "";