summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--synchronizer/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/synchronizer/main.cpp b/synchronizer/main.cpp
index 169b83b..479a0bf 100644
--- a/synchronizer/main.cpp
+++ b/synchronizer/main.cpp
@@ -227,7 +227,8 @@ int main(int argc, char *argv[])
227 qInstallMessageHandler(qtMessageHandler); 227 qInstallMessageHandler(qtMessageHandler);
228 228
229 //Necessary to hide this QGuiApplication from the dock and application switcher on mac os. 229 //Necessary to hide this QGuiApplication from the dock and application switcher on mac os.
230 qputenv("QT_MAC_DISABLE_FOREGROUND_APPLICATION_TRANSFORM", "1"); 230 qputenv("QT_MAC_DISABLE_FOREGROUND_APPLICATION_TRANSFORM", "true");
231 QGuiApplication::setAttribute(Qt::AA_PluginApplication);
231 232
232 QGuiApplication app(argc, argv); 233 QGuiApplication app(argc, argv);
233 app.setQuitLockEnabled(false); 234 app.setQuitLockEnabled(false);