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?
This commit is contained in:
ArsenArsen 2017-06-07 10:11:46 +02:00
parent 806f918f49
commit cc9e8ccfbf

View File

@ -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");