diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index cbe2bf833..0fcc5c23d 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -480,7 +480,7 @@ void openDebugLogfile() bool openBitcoinConf() { - boost::filesystem::path pathConfig = GetConfigFile(BITCOIN_CONF_FILENAME); + boost::filesystem::path pathConfig = GetConfigFile(); /* Create the file */ boost::filesystem::ofstream configFile(pathConfig, std::ios_base::app);