diff options
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 4368f7d54..7c4402b99 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -57,10 +57,12 @@ int main(int argc, char** argv) // don't set organizationName as that changes the return value of // QStandardPaths::writableLocation(QDesktopServices::DataLocation) +#ifndef QT_DEBUG if (app.isAlreadyRunning()) { qWarning() << QCoreApplication::translate("Main", "Another instance of KeePassXC is already running.").toUtf8().constData(); return 0; } +#endif QApplication::setQuitOnLastWindowClosed(false); |