forked from Silverfish/proton-bridge
GODT-1820: hide app windows and tray icon before initating app shutdown.
This commit is contained in:
@ -89,6 +89,8 @@ QtObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onQuit: {
|
onQuit: {
|
||||||
|
mainWindow.hide()
|
||||||
|
trayIcon.visible = false
|
||||||
Backend.quit()
|
Backend.quit()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -295,8 +295,8 @@ Window {
|
|||||||
colorScheme: root.colorScheme
|
colorScheme: root.colorScheme
|
||||||
text: qsTr("Quit Bridge")
|
text: qsTr("Quit Bridge")
|
||||||
onClicked: {
|
onClicked: {
|
||||||
root.quit()
|
|
||||||
root.close()
|
root.close()
|
||||||
|
root.quit()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user