Use Qt.quit() when closing the window
Qt.quit() is used because KDE Plasma will minimize to tray by default when clicking on X button
This commit is contained in:
parent
8a04f80602
commit
a543c79c02
|
@ -88,7 +88,7 @@ ApplicationWindow {
|
|||
|
||||
onClosing: {
|
||||
close.accepted = ! settings.closeMinimizesToTray
|
||||
if (settings.closeMinimizesToTray) hide()
|
||||
settings.closeMinimizesToTray ? hide() : Qt.quit()
|
||||
}
|
||||
|
||||
PythonRootBridge { id: py }
|
||||
|
|
Loading…
Reference in New Issue
Block a user