Skip to content

Commit

Permalink
Fix start minimized to tray for unix...
Browse files Browse the repository at this point in the history
  • Loading branch information
intika authored and droidmonkey committed Nov 23, 2019
1 parent ed60a3d commit 604a187
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/Bootstrap.cpp
Expand Up @@ -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();
}
Expand Down

0 comments on commit 604a187

Please sign in to comment.