File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 66
77#include " bantablemodel.h"
88#include " guiconstants.h"
9+ #include " guiutil.h"
910#include " peertablemodel.h"
1011
1112#include " chainparams.h"
@@ -186,7 +187,7 @@ QString ClientModel::formatClientStartupTime() const
186187
187188QString ClientModel::dataDir () const
188189{
189- return QString::fromStdString (GetDataDir (). string ());
190+ return GUIUtil::boostPathToQString (GetDataDir ());
190191}
191192
192193void ClientModel::updateBanlist ()
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ static QString ipcServerName()
8080 // Append a simple hash of the datadir
8181 // Note that GetDataDir(true) returns a different path
8282 // for -testnet versus main net
83- QString ddir (QString::fromStdString (GetDataDir (true ). string ( )));
83+ QString ddir (GUIUtil::boostPathToQString (GetDataDir (true )));
8484 name.append (QString::number (qHash (ddir)));
8585
8686 return name;
You can’t perform that action at this time.
0 commit comments