From 9c5db0495342b33aebad7df07553d4c08070b9a7 Mon Sep 17 00:00:00 2001 From: Tim Flynn Date: Fri, 27 Jan 2017 09:07:13 -0500 Subject: [PATCH] Fix datadir initialization in dash-qt (#1287) --- src/qt/intro.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/intro.cpp b/src/qt/intro.cpp index 6ec25f492..3effc3275 100644 --- a/src/qt/intro.cpp +++ b/src/qt/intro.cpp @@ -173,7 +173,7 @@ void Intro::pickDataDirectory() /* 2) Allow QSettings to override default dir */ QString dataDir = settings.value("strDataDir", dataDirDefaultCurrent).toString(); /* 3) Check to see if default datadir is the one we expect */ - QString dataDirDefaultSettings = settings.value("strDataDirDefault", dataDirDefaultCurrent).toString(); + QString dataDirDefaultSettings = settings.value("strDataDirDefault").toString(); if(!fs::exists(GUIUtil::qstringToBoostPath(dataDir)) || GetBoolArg("-choosedatadir", DEFAULT_CHOOSE_DATADIR) || dataDirDefaultCurrent != dataDirDefaultSettings) {