Commit 415e698b authored by Ronan Abhamon's avatar Ronan Abhamon

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

parent 737dda9a
......@@ -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"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment