Revert "When the application starts with "Start minimized" enabled on macOS (especially the"

This reverts commit 7b0d17987c.
This commit is contained in:
Yaroslav Yashin 2025-05-27 19:30:07 +03:00
parent 7b0d17987c
commit 4fcf3c13dd
2 changed files with 2 additions and 8 deletions

View file

@ -132,10 +132,8 @@ void PageController::showOnStartup()
} else {
#if defined(Q_OS_WIN) || (defined(Q_OS_LINUX) && !defined(Q_OS_ANDROID))
emit hideMainWindow();
#elif defined Q_OS_MACX && !defined(MACOS_NE)
#elif defined(Q_OS_MACX) and defined(MACOS_NE)
setDockIconVisible(false);
#elif defined(MACOS_NE)
emit hideMainWindow();
#endif
}
}