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

Fixes: #15
This commit is contained in:
Mike Gelfand 2020-12-24 05:40:35 +03:00 committed by GitHub
parent c14a6ad1d2
commit e08d7d7c4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();