From 2ad5e6f06a07f880bdb2f6048e0eacf9c3f78378 Mon Sep 17 00:00:00 2001 From: thez3ro Date: Sat, 18 Feb 2017 13:49:55 +0100 Subject: [PATCH] load a different config with debug option, close #290 --- src/core/Config.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/Config.cpp b/src/core/Config.cpp index 03b5e4755..d5365d7c1 100644 --- a/src/core/Config.cpp +++ b/src/core/Config.cpp @@ -75,7 +75,11 @@ Config::Config(QObject* parent) userPath += "/"; #endif +#ifdef QT_DEBUG + userPath += "keepassxc_debug.ini"; +#else userPath += "keepassxc.ini"; +#endif init(userPath); }