aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-03-25 21:36:22 +0100
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-04-21 12:55:31 +0200
commit1276090705060fcc97072481c2383bbaaa556194 (patch)
tree5c0dd2919c625592979b2cef7ba484bca11e06c1 /src/qt/guiutil.cpp
parent1c6fcea20524d79975f81c3110408e8b5fea8731 (diff)
util, refactor: Use GetPathArg to read "-conf" value
Also "includeconf" values been normalized.
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 6fb5fce5b3..e70ca3053d 100644
--- a/src/qt/guiutil.cpp
+++ b/src/qt/guiutil.cpp
@@ -431,7 +431,7 @@ void openDebugLogfile()
bool openBitcoinConf()
{
- fs::path pathConfig = GetConfigFile(gArgs.GetArg("-conf", BITCOIN_CONF_FILENAME));
+ fs::path pathConfig = GetConfigFile(gArgs.GetPathArg("-conf", BITCOIN_CONF_FILENAME));
/* Create the file */
std::ofstream configFile{pathConfig, std::ios_base::app};