daemonManagerDialog: added starting signal

This commit is contained in:
Jacob Brydolf 2016-11-07 14:54:49 +01:00 committed by Jaquee
parent 3a431543fa
commit 5855700007
No known key found for this signature in database
GPG key ID: 384E52B09F45DC39

View file

@ -41,6 +41,7 @@ Window {
flags: Qt.Window | Qt.FramelessWindowHint flags: Qt.Window | Qt.FramelessWindowHint
signal rejected() signal rejected()
signal started();
function open() { function open() {
show() show()
@ -91,7 +92,7 @@ Window {
onClicked: { onClicked: {
daemonManager.start(); daemonManager.start();
root.close() root.close()
// root.accepted() root.started()
} }
} }
@ -106,8 +107,8 @@ Window {
text: qsTr("Cancel") text: qsTr("Cancel")
onClicked: { onClicked: {
root.rejected()
root.close() root.close()
root.rejected()
} }
} }
} }