Revert "When the application starts with "Start minimized" enabled on macOS (especially the"
This reverts commit 7b0d17987c
.
This commit is contained in:
parent
7b0d17987c
commit
4fcf3c13dd
2 changed files with 2 additions and 8 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -69,11 +69,7 @@ Window {
|
|||
}
|
||||
|
||||
function onHideMainWindow() {
|
||||
if (Qt.platform.os === "osx") {
|
||||
root.showMinimized();
|
||||
} else {
|
||||
root.hide();
|
||||
}
|
||||
root.hide()
|
||||
}
|
||||
|
||||
function onShowErrorMessage(errorMessage) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue