Skip to content

Commit 372c571

Browse files
committed
qml: Fix conflicts with bitcoin/bitcoin#27170
1 parent fde1c2f commit 372c571

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qml/bitcoin.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ bool ConfigurationFileExists(ArgsManager& argsman)
109109
}
110110

111111
const fs::path rel_config_path = argsman.GetPathArg("-conf", BITCOIN_CONF_FILENAME);
112-
const fs::path abs_config_path = AbsPathForConfigVal(rel_config_path, true);
112+
const fs::path abs_config_path = AbsPathForConfigVal(argsman, rel_config_path, true);
113113
if (fs::exists(abs_config_path)) {
114114
return true;
115115
}
@@ -169,7 +169,7 @@ int QmlGuiMain(int argc, char* argv[])
169169
app.setApplicationName(QAPP_APP_NAME_DEFAULT);
170170

171171
/// Determine availability of data directory.
172-
if (!CheckDataDirOption()) {
172+
if (!CheckDataDirOption(gArgs)) {
173173
InitError(strprintf(Untranslated("Specified data directory \"%s\" does not exist.\n"), gArgs.GetArg("-datadir", "")));
174174
return EXIT_FAILURE;
175175
}

0 commit comments

Comments
 (0)