From 1a5888f277bc2a189a17afe011e0cc5656c6cba4 Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Sun, 23 Nov 2025 10:03:06 +0100 Subject: [PATCH] LockScreen: make mouse cursor pointing when hovering over buttons --- Modules/LockScreen/LockScreen.qml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Modules/LockScreen/LockScreen.qml b/Modules/LockScreen/LockScreen.qml index a72d6ebf..332aeea5 100644 --- a/Modules/LockScreen/LockScreen.qml +++ b/Modules/LockScreen/LockScreen.qml @@ -1022,6 +1022,7 @@ Loader { id: eyeButtonArea anchors.fill: parent hoverEnabled: true + cursorShape: Qt.PointingHandCursor onClicked: parent.parent.passwordVisible = !parent.parent.passwordVisible } @@ -1058,6 +1059,7 @@ Loader { id: submitButtonArea anchors.fill: parent hoverEnabled: true + cursorShape: Qt.PointingHandCursor onClicked: lockContext.tryUnlock() } } @@ -1116,6 +1118,7 @@ Loader { id: logoutButtonArea anchors.fill: parent hoverEnabled: true + cursorShape: Qt.PointingHandCursor onClicked: CompositorService.logout() } @@ -1165,6 +1168,7 @@ Loader { id: suspendButtonArea anchors.fill: parent hoverEnabled: true + cursorShape: Qt.PointingHandCursor onClicked: CompositorService.suspend() } @@ -1214,6 +1218,7 @@ Loader { id: hibernateButtonArea anchors.fill: parent hoverEnabled: true + cursorShape: Qt.PointingHandCursor onClicked: CompositorService.hibernate() } @@ -1263,6 +1268,7 @@ Loader { id: rebootButtonArea anchors.fill: parent hoverEnabled: true + cursorShape: Qt.PointingHandCursor onClicked: CompositorService.reboot() } @@ -1312,6 +1318,7 @@ Loader { id: shutdownButtonArea anchors.fill: parent hoverEnabled: true + cursorShape: Qt.PointingHandCursor onClicked: CompositorService.shutdown() }