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 6
6
7
7
#include " bantablemodel.h"
8
8
#include " guiconstants.h"
9
+ #include " guiutil.h"
9
10
#include " peertablemodel.h"
10
11
11
12
#include " chainparams.h"
@@ -208,7 +209,7 @@ QString ClientModel::formatClientStartupTime() const
208
209
209
210
QString ClientModel::dataDir () const
210
211
{
211
- return QString::fromStdString (GetDataDir (). string ());
212
+ return GUIUtil::boostPathToQString (GetDataDir ());
212
213
}
213
214
214
215
void ClientModel::updateBanlist ()
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ static QString ipcServerName()
80
80
// Append a simple hash of the datadir
81
81
// Note that GetDataDir(true) returns a different path
82
82
// for -testnet versus main net
83
- QString ddir (QString::fromStdString (GetDataDir (true ). string ( )));
83
+ QString ddir (GUIUtil::boostPathToQString (GetDataDir (true )));
84
84
name.append (QString::number (qHash (ddir)));
85
85
86
86
return name;
You can’t perform that action at this time.
0 commit comments