From f8505abaa2a90bfee4b2ef272ee31447e1dd076b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 10 Aug 2016 18:14:57 +0200 Subject: gui/main: don't just exit event loop on last window closed --- gui/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gui/main.cpp') 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"; -- cgit v1.2.3