load a different config with debug option, close #290

This commit is contained in:
thez3ro 2017-02-18 13:49:55 +01:00
parent 03ab20a4b8
commit 2ad5e6f06a
No known key found for this signature in database
GPG Key ID: F628F9E41DD7C073

View File

@ -75,7 +75,11 @@ Config::Config(QObject* parent)
userPath += "/";
#endif
#ifdef QT_DEBUG
userPath += "keepassxc_debug.ini";
#else
userPath += "keepassxc.ini";
#endif
init(userPath);
}