test
This commit is contained in:
@@ -19,7 +19,8 @@ Singleton {
|
||||
|
||||
property string colorsPath: s_json.colorsPath
|
||||
|
||||
property Process changeColors: Process {
|
||||
Process {
|
||||
id: cc
|
||||
command: [ s_json.changeColorsCmd ]
|
||||
running: false
|
||||
}
|
||||
@@ -76,7 +77,10 @@ Singleton {
|
||||
|
||||
watchChanges: true
|
||||
|
||||
onFileChanged: reload()
|
||||
onFileChanged: {
|
||||
reload()
|
||||
cc.running = true
|
||||
}
|
||||
|
||||
JsonAdapter {
|
||||
id: c_json
|
||||
|
||||
@@ -46,16 +46,6 @@ Flickable {
|
||||
}
|
||||
}
|
||||
|
||||
Timer {
|
||||
id: cct
|
||||
running: false
|
||||
repeat: false
|
||||
interval: 3000
|
||||
onTriggered: {
|
||||
Settings.changeColors.running = true
|
||||
}
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
id: lay
|
||||
|
||||
@@ -89,7 +79,6 @@ Flickable {
|
||||
|
||||
onClicked: {
|
||||
sw.running = true
|
||||
cct.running = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user