diff options
author | Jonathan White <support@dmapps.us> | 2019-11-23 17:53:32 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2019-11-23 17:53:40 +0300 |
commit | dc6c9186c9e2a05c080d23c27ae2dc7526d4c1dd (patch) | |
tree | 8517d8104f79a75fc672abbb04558b3b08ef7469 /src/core/Bootstrap.cpp | |
parent | ed60a3dcce8402f36a6264b435f4885f72ffc6db (diff) |
Fix start minimized to tray for unix
Diffstat (limited to 'src/core/Bootstrap.cpp')
-rw-r--r-- | src/core/Bootstrap.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Bootstrap.cpp b/src/core/Bootstrap.cpp index 204942f4d..46aff92d5 100644 --- a/src/core/Bootstrap.cpp +++ b/src/core/Bootstrap.cpp @@ -106,7 +106,11 @@ namespace Bootstrap { // start minimized if configured if (config()->get("GUI/MinimizeOnStartup").toBool()) { +#ifdef Q_OS_WIN mainWindow.showMinimized(); +#else + mainWindow.hideWindow(); +#endif } else { mainWindow.bringToFront(); } |