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:
parent
806f918f49
commit
cc9e8ccfbf
1
main.cpp
1
main.cpp
@ -33,6 +33,7 @@ void handler(QtMsgType type, const QMessageLogContext &, const QString &msg) {
|
|||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
qInstallMessageHandler(handler);
|
qInstallMessageHandler(handler);
|
||||||
QApplication a(argc, argv);
|
QApplication a(argc, argv);
|
||||||
|
a.setQuitOnLastWindowClosed(false);
|
||||||
a.setApplicationName("KShare");
|
a.setApplicationName("KShare");
|
||||||
a.setOrganizationName("ArsenArsen");
|
a.setOrganizationName("ArsenArsen");
|
||||||
a.setApplicationVersion("3.0");
|
a.setApplicationVersion("3.0");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user