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: {
|
||||
mainWindow.hide()
|
||||
trayIcon.visible = false
|
||||
Backend.quit()
|
||||
}
|
||||
|
||||
|
||||
@ -295,8 +295,8 @@ Window {
|
||||
colorScheme: root.colorScheme
|
||||
text: qsTr("Quit Bridge")
|
||||
onClicked: {
|
||||
root.quit()
|
||||
root.close()
|
||||
root.quit()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user