summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-04 16:14:32 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-04 16:14:32 +0200
commit296505fc5848fa064716714286cf15422a72bdfc (patch)
tree7957441e180387c1da456bd1f71201844ffbd66f
parent5392707ae331981861f74d3075307e67d4d06ba8 (diff)
downloadsink-296505fc5848fa064716714286cf15422a72bdfc.tar.gz
sink-296505fc5848fa064716714286cf15422a72bdfc.zip
Hide the QGuiApplication on mac os again.
-rw-r--r--synchronizer/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/synchronizer/main.cpp b/synchronizer/main.cpp
index f4bac73..169b83b 100644
--- a/synchronizer/main.cpp
+++ b/synchronizer/main.cpp
@@ -226,6 +226,9 @@ int main(int argc, char *argv[])
226 226
227 qInstallMessageHandler(qtMessageHandler); 227 qInstallMessageHandler(qtMessageHandler);
228 228
229 //Necessary to hide this QGuiApplication from the dock and application switcher on mac os.
230 qputenv("QT_MAC_DISABLE_FOREGROUND_APPLICATION_TRANSFORM", "1");
231
229 QGuiApplication app(argc, argv); 232 QGuiApplication app(argc, argv);
230 app.setQuitLockEnabled(false); 233 app.setQuitLockEnabled(false);
231 234