From 322c29231f09c675a5ea2fac8346c1206bb4d5da Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 4 Apr 2018 16:50:26 +0200 Subject: Try again --- synchronizer/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'synchronizer') 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[]) qInstallMessageHandler(qtMessageHandler); //Necessary to hide this QGuiApplication from the dock and application switcher on mac os. - qputenv("QT_MAC_DISABLE_FOREGROUND_APPLICATION_TRANSFORM", "1"); + qputenv("QT_MAC_DISABLE_FOREGROUND_APPLICATION_TRANSFORM", "true"); + QGuiApplication::setAttribute(Qt::AA_PluginApplication); QGuiApplication app(argc, argv); app.setQuitLockEnabled(false); -- cgit v1.2.3