Don't quit the app when closing the main window (#40)

Fixes: #15
This commit is contained in:
Mike Gelfand authored and GitHub committed 2020-12-24 10:40:35 +08:00
1 parent c14a6ad1d2
commit e08d7d7c4d
1 file changed
+2
+2
View File
@@ -28,6 +28,8 @@ int main(int argc, char *argv[])
} }
SingleApplication app(argc, argv); SingleApplication app(argc, argv);
app.setQuitOnLastWindowClosed(false);
GPClient w; GPClient w;
w.show(); w.show();