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