mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Fix start minimized to tray for unix
This commit is contained in:
parent
ed60a3dcce
commit
dc6c9186c9
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user