qs: update

This commit is contained in:
2026-03-12 00:31:56 +01:00
parent aab409ecc3
commit 65ac60fe34
2 changed files with 4 additions and 6 deletions
@@ -22,11 +22,12 @@ RowLayout {
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.LeftButton
onClicked: BackgroundService.toggleChooser()
onClicked: BackgroundService.openChoooser()
cursorShape: Qt.PointingHandCursor
}
Rectangle {
visible: WallpaperCycle.enabled
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
width: Style.marginS
@@ -62,10 +62,7 @@ Singleton {
});
}
function toggleChooser() {
if (wallreelProcess.running)
wallreelProcess.signal(2);
else
function openChooser() {
wallreelProcess.running = true;
}