From faad0dbbcf2ace976daf364eec83bfe09cec9b2a Mon Sep 17 00:00:00 2001 From: Calamytryx <91600814+Calamytryx@users.noreply.github.com> Date: Mon, 1 Jun 2026 01:30:19 +0800 Subject: [PATCH] Fix LogoutPrompt action connections for reboot and shutdown in DashboardRepresentation --- contents/ui/DashboardRepresentation.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contents/ui/DashboardRepresentation.qml b/contents/ui/DashboardRepresentation.qml index 7f43f09..450ead9 100644 --- a/contents/ui/DashboardRepresentation.qml +++ b/contents/ui/DashboardRepresentation.qml @@ -608,7 +608,7 @@ Kicker.DashboardWindow { anchors.fill: parent hoverEnabled: true cursorShape: Qt.PointingHandCursor - onClicked: executable2.connectSource("qdbus org.kde.LogoutPrompt /LogoutPrompt promptLogout") + onClicked: executable2.connectSource("qdbus org.kde.LogoutPrompt /LogoutPrompt org.kde.LogoutPrompt.promptLogout") } } @@ -668,7 +668,7 @@ Kicker.DashboardWindow { anchors.fill: parent hoverEnabled: true cursorShape: Qt.PointingHandCursor - onClicked: executable2.connectSource("qdbus org.kde.LogoutPrompt /LogoutPrompt promptReboot") + onClicked: executable2.connectSource("qdbus org.kde.LogoutPrompt /LogoutPrompt org.kde.LogoutPrompt.promptReboot ") } } @@ -728,7 +728,7 @@ Kicker.DashboardWindow { anchors.fill: parent hoverEnabled: true cursorShape: Qt.PointingHandCursor - onClicked: executable2.connectSource("qdbus org.kde.LogoutPrompt /LogoutPrompt promptShutdown") + onClicked: executable2.connectSource("qdbus org.kde.LogoutPrompt /LogoutPrompt promptShutDown") } } }