Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/Bootstrap.cpp4
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();
}