Merge pull request #90 from majestrate/exit-on-close-2020-11-26
allow the app to close when running on windows
This commit is contained in:
commit
6522b5120f
|
@ -29,10 +29,7 @@ ApplicationWindow {
|
|||
|
||||
|
||||
onClosing: {
|
||||
if(platformDetails.isLinux())
|
||||
{
|
||||
window.exitApp();
|
||||
}
|
||||
window.exitApp();
|
||||
}
|
||||
|
||||
|
||||
|
@ -102,7 +99,7 @@ ApplicationWindow {
|
|||
|
||||
menu: Menu {
|
||||
id: systrayMenu
|
||||
enabled: platformDetails.hasSysTray();
|
||||
enabled: true
|
||||
|
||||
MenuItem {
|
||||
text: qsTr("Show")
|
||||
|
|
Loading…
Reference in New Issue