Commit f18035bf authored by Ronan Abhamon's avatar Ronan Abhamon

fix(src/app/App): do not use `iconified` icon on MacOS

parent c71f1590
...@@ -153,10 +153,10 @@ void App::initContentApp () { ...@@ -153,10 +153,10 @@ void App::initContentApp () {
else else
setTrayIcon(); setTrayIcon();
#endif // ifndef __APPLE__ if (!m_parser.isSet("iconified"))
getMainWindow()->showNormal();
if (!m_parser.isSet("iconified")) #endif // ifndef __APPLE__
getMainWindow()->showNormal();
if (m_parser.isSet("selftest")) if (m_parser.isSet("selftest"))
QTimer::singleShot(300, this, &App::quit); QTimer::singleShot(300, this, &App::quit);
...@@ -172,7 +172,7 @@ void App::parseArgs () { ...@@ -172,7 +172,7 @@ void App::parseArgs () {
{ "config", tr("commandLineOptionConfig"), "file" }, { "config", tr("commandLineOptionConfig"), "file" },
#ifndef __APPLE__ #ifndef __APPLE__
{ "iconified", tr("commandLineOptionIconified") }, { "iconified", tr("commandLineOptionIconified") },
#endif // __APPLE__ #endif // ifndef __APPLE__
{ "selftest", tr("commandLineOptionSelftest") }, { "selftest", tr("commandLineOptionSelftest") },
{ { "V", "verbose" }, tr("commandLineOptionVerbose") } { { "V", "verbose" }, tr("commandLineOptionVerbose") }
}); });
......
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