Merge pull request #326 from keepassxreboot/feature/debug-config-file

Load a different config when debug option enabled
This commit is contained in:
TheZ3ro 2017-02-18 14:28:08 +01:00 committed by GitHub
commit 5adc1a12dd

View File

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