test
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user