This commit is contained in:
2026-04-10 16:56:54 -05:00
parent 062b6d63bd
commit 3e14569edd
2 changed files with 6 additions and 13 deletions

View File

@@ -19,7 +19,8 @@ Singleton {
property string colorsPath: s_json.colorsPath property string colorsPath: s_json.colorsPath
property Process changeColors: Process { Process {
id: cc
command: [ s_json.changeColorsCmd ] command: [ s_json.changeColorsCmd ]
running: false running: false
} }
@@ -76,7 +77,10 @@ Singleton {
watchChanges: true watchChanges: true
onFileChanged: reload() onFileChanged: {
reload()
cc.running = true
}
JsonAdapter { JsonAdapter {
id: c_json id: c_json

View File

@@ -46,16 +46,6 @@ Flickable {
} }
} }
Timer {
id: cct
running: false
repeat: false
interval: 3000
onTriggered: {
Settings.changeColors.running = true
}
}
RowLayout { RowLayout {
id: lay id: lay
@@ -89,7 +79,6 @@ Flickable {
onClicked: { onClicked: {
sw.running = true sw.running = true
cct.running = true
} }
} }
} }