From e08d7d7c4db597ab1c09c9d3f7e1157aab45f3f4 Mon Sep 17 00:00:00 2001 From: Mike Gelfand Date: Thu, 24 Dec 2020 05:40:35 +0300 Subject: [PATCH] Don't quit the app when closing the main window (#40) Fixes: #15 --- GPClient/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GPClient/main.cpp b/GPClient/main.cpp index c992e1e..65c6be4 100644 --- a/GPClient/main.cpp +++ b/GPClient/main.cpp @@ -28,6 +28,8 @@ int main(int argc, char *argv[]) } SingleApplication app(argc, argv); + app.setQuitOnLastWindowClosed(false); + GPClient w; w.show();