diff options
| author | Luke Dashjr <[email protected]> | 2015-06-27 19:21:41 +0000 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2015-11-28 18:47:29 +0100 |
| commit | b966aa836a3bc5bfa1314248258308f0026d41bb (patch) | |
| tree | 479a641f12deef9df483b368876cbd8ede3da5e5 /src/qt/intro.cpp | |
| parent | Merge pull request #6942 (diff) | |
| download | discoin-b966aa836a3bc5bfa1314248258308f0026d41bb.tar.xz discoin-b966aa836a3bc5bfa1314248258308f0026d41bb.zip | |
Constrain constant values to a single location in code
Diffstat (limited to 'src/qt/intro.cpp')
| -rw-r--r-- | src/qt/intro.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/intro.cpp b/src/qt/intro.cpp index 4ab87e0f3..ab63e98d4 100644 --- a/src/qt/intro.cpp +++ b/src/qt/intro.cpp @@ -162,7 +162,7 @@ void Intro::pickDataDirectory() /* 2) Allow QSettings to override default dir */ dataDir = settings.value("strDataDir", dataDir).toString(); - if(!fs::exists(GUIUtil::qstringToBoostPath(dataDir)) || GetBoolArg("-choosedatadir", false)) + if(!fs::exists(GUIUtil::qstringToBoostPath(dataDir)) || GetBoolArg("-choosedatadir", DEFAULT_CHOOSE_DATADIR)) { /* If current default data directory does not exist, let the user choose one */ Intro intro; |