qs: update
This commit is contained in:
@@ -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,11 +62,8 @@ Singleton {
|
||||
});
|
||||
}
|
||||
|
||||
function toggleChooser() {
|
||||
if (wallreelProcess.running)
|
||||
wallreelProcess.signal(2);
|
||||
else
|
||||
wallreelProcess.running = true;
|
||||
function openChooser() {
|
||||
wallreelProcess.running = true;
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
|
||||
Reference in New Issue
Block a user