Fix start minimized to tray for unix

This commit is contained in:
Jonathan White 2019-11-23 09:53:32 -05:00
parent ed60a3dcce
commit dc6c9186c9

View File

@ -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();
}