mirror of
https://github.com/kbumsik/VirtScreen.git
synced 2025-03-09 15:40:18 +00:00
Added: Saving settings
This commit is contained in:
parent
859044c6eb
commit
35b61fc74a
2 changed files with 58 additions and 22 deletions
6
main.qml
6
main.qml
|
|
@ -440,7 +440,11 @@ ApplicationWindow {
|
|||
menu: Labs.Menu {
|
||||
Labs.MenuItem {
|
||||
text: qsTr("&Quit")
|
||||
onTriggered: backend.quitProgram()
|
||||
onTriggered: {
|
||||
backend.onVirtScreenCreatedChanged.disconnect(window.switchVNC);
|
||||
backend.onVncStateChanged.disconnect(window.switchVNC);
|
||||
backend.quitProgram();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue