mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-22 14:18:09 +00:00
fix(src/app/App): force show main window on MacOS
This commit is contained in:
parent
737dda9a16
commit
415e698b19
1 changed files with 2 additions and 2 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue