From 415e698b1925e6dd7b5ff1178c75ae57169b417d Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 24 Feb 2017 09:33:41 +0100 Subject: [PATCH] fix(src/app/App): force show main window on MacOS --- linphone-desktop/src/app/App.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linphone-desktop/src/app/App.cpp b/linphone-desktop/src/app/App.cpp index 20814e7c3..78b3dd40b 100644 --- a/linphone-desktop/src/app/App.cpp +++ b/linphone-desktop/src/app/App.cpp @@ -146,7 +146,6 @@ void App::initContentApp () { qFatal("Unable to open main window."); #ifndef __APPLE__ - // Enable TrayIconSystem. if (!QSystemTrayIcon::isSystemTrayAvailable()) qWarning("System tray not found on this system."); @@ -155,7 +154,8 @@ void App::initContentApp () { if (!m_parser.isSet("iconified")) getMainWindow()->showNormal(); - + #else + getMainWindow()->showNormal(); #endif // ifndef __APPLE__ if (m_parser.isSet("selftest"))