|
|
@ -281,6 +281,7 @@ Rectangle {
|
|
|
|
|
|
|
|
|
|
|
|
StandardButton {
|
|
|
|
StandardButton {
|
|
|
|
visible: true
|
|
|
|
visible: true
|
|
|
|
|
|
|
|
enabled: !appWindow.daemonRunning
|
|
|
|
id: startDaemonButton
|
|
|
|
id: startDaemonButton
|
|
|
|
width: 110
|
|
|
|
width: 110
|
|
|
|
text: qsTr("Start daemon") + translationManager.emptyString
|
|
|
|
text: qsTr("Start daemon") + translationManager.emptyString
|
|
|
@ -294,7 +295,8 @@ Rectangle {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
StandardButton {
|
|
|
|
StandardButton {
|
|
|
|
visible: false
|
|
|
|
visible: true
|
|
|
|
|
|
|
|
enabled: appWindow.daemonRunning
|
|
|
|
id: stopDaemonButton
|
|
|
|
id: stopDaemonButton
|
|
|
|
width: 110
|
|
|
|
width: 110
|
|
|
|
text: qsTr("Stop daemon") + translationManager.emptyString
|
|
|
|
text: qsTr("Stop daemon") + translationManager.emptyString
|
|
|
@ -303,8 +305,7 @@ Rectangle {
|
|
|
|
releasedColor: "#FF6C3C"
|
|
|
|
releasedColor: "#FF6C3C"
|
|
|
|
pressedColor: "#FF4304"
|
|
|
|
pressedColor: "#FF4304"
|
|
|
|
onClicked: {
|
|
|
|
onClicked: {
|
|
|
|
|
|
|
|
daemonManager.stop();
|
|
|
|
//daemonManager.stop();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|