parent
38031aba83
commit
af1e7c7174
|
@ -136,7 +136,7 @@ StatusWindow {
|
||||||
loader.sourceComponent = undefined
|
loader.sourceComponent = undefined
|
||||||
close.accepted = true
|
close.accepted = true
|
||||||
} else {
|
} else {
|
||||||
if (loader.sourceComponent == login) {
|
if (loader.sourceComponent != app) {
|
||||||
Qt.quit();
|
Qt.quit();
|
||||||
}
|
}
|
||||||
else if (loader.sourceComponent == app) {
|
else if (loader.sourceComponent == app) {
|
||||||
|
@ -338,7 +338,7 @@ StatusWindow {
|
||||||
visible: Qt.platform.os === "osx" && !applicationWindow.isFullScreen
|
visible: Qt.platform.os === "osx" && !applicationWindow.isFullScreen
|
||||||
|
|
||||||
onClose: {
|
onClose: {
|
||||||
if (loader.sourceComponent == login) {
|
if (loader.sourceComponent != app) {
|
||||||
Qt.quit();
|
Qt.quit();
|
||||||
}
|
}
|
||||||
else if (loader.sourceComponent == app) {
|
else if (loader.sourceComponent == app) {
|
||||||
|
|
Loading…
Reference in New Issue