fix(src/app/App): force show main window on MacOS

This commit is contained in:
Ronan Abhamon 2017-02-24 09:33:41 +01:00
parent 737dda9a16
commit 415e698b19

View file

@ -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"))