summaryrefslogtreecommitdiffhomepage
path: root/gui/main.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-10 18:14:57 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-10 18:14:57 +0200
commitf8505abaa2a90bfee4b2ef272ee31447e1dd076b (patch)
tree4ec92e21f077f5f56904de2163edcddbdff2c891 /gui/main.cpp
parent85dd83ca6918b8ad94a301237b7912e7e556a6e8 (diff)
gui/main: don't just exit event loop on last window closed
Diffstat (limited to 'gui/main.cpp')
-rw-r--r--gui/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/main.cpp b/gui/main.cpp
index f2688302..eb040337 100644
--- a/gui/main.cpp
+++ b/gui/main.cpp
@@ -145,6 +145,8 @@ int main(int argc, char** argv)
w->setHidden(true);
}
+ app.setQuitOnLastWindowClosed(false);
+
app.exec();
qDebug() << "exit: now deleting main control";