From cc9e8ccfbfe197d7b60adaad74bd6ca7a416ecf7 Mon Sep 17 00:00:00 2001 From: ArsenArsen Date: Wed, 7 Jun 2017 10:11:46 +0200 Subject: [PATCH] Fix from feature/recording: Closing automatically Moved the fix for closing in the background after taking a screenshot [originally on feature/recording] Qt why does that default to true? --- main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main.cpp b/main.cpp index 105d7eb..6b9fda5 100644 --- a/main.cpp +++ b/main.cpp @@ -33,6 +33,7 @@ void handler(QtMsgType type, const QMessageLogContext &, const QString &msg) { int main(int argc, char *argv[]) { qInstallMessageHandler(handler); QApplication a(argc, argv); + a.setQuitOnLastWindowClosed(false); a.setApplicationName("KShare"); a.setOrganizationName("ArsenArsen"); a.setApplicationVersion("3.0");