aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.cpp
diff options
context:
space:
mode:
authorJonas Schnelli <[email protected]>2018-02-20 21:03:50 +1100
committerJonas Schnelli <[email protected]>2018-02-20 21:05:03 +1100
commita6e6e39a8baf0756240427cc5dc5fce5aea51f0d (patch)
tree824ecbd1e9e7b32ee4be8e0a5b68f4a3e7533615 /src/qt/guiutil.cpp
parentMerge #10583: [RPC] Split part of validateaddress into getaddressinfo (diff)
downloaddiscoin-a6e6e39a8baf0756240427cc5dc5fce5aea51f0d.tar.xz
discoin-a6e6e39a8baf0756240427cc5dc5fce5aea51f0d.zip
Bugfix: respect user defined configuration file (-conf) when open conf. file from QT settings
Diffstat (limited to 'src/qt/guiutil.cpp')
-rw-r--r--src/qt/guiutil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp
index edf1c29ea..a46e0561b 100644
--- a/src/qt/guiutil.cpp
+++ b/src/qt/guiutil.cpp
@@ -417,7 +417,7 @@ void openDebugLogfile()
bool openBitcoinConf()
{
- boost::filesystem::path pathConfig = GetConfigFile(BITCOIN_CONF_FILENAME);
+ boost::filesystem::path pathConfig = GetConfigFile(gArgs.GetArg("-conf", BITCOIN_CONF_FILENAME));
/* Create the file */
boost::filesystem::ofstream configFile(pathConfig, std::ios_base::app);