summaryrefslogtreecommitdiffstats
path: root/synchronizer/main.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-04 16:50:26 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-04 16:50:26 +0200
commit322c29231f09c675a5ea2fac8346c1206bb4d5da (patch)
tree252f2a251a9faf5ecee0ea0a5ee3226a24b8e42b /synchronizer/main.cpp
parent296505fc5848fa064716714286cf15422a72bdfc (diff)
downloadsink-322c29231f09c675a5ea2fac8346c1206bb4d5da.tar.gz
sink-322c29231f09c675a5ea2fac8346c1206bb4d5da.zip
Try again
Diffstat (limited to 'synchronizer/main.cpp')
-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);