diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-11-07 12:11:59 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-11-07 12:57:07 +0100 |
| commit | e760b307f6210bee293796d606bcca87f86be200 (patch) | |
| tree | 25cd2483a557cfc85e0ad1d81d1e453d1a7948b3 /src/qt/clientmodel.cpp | |
| parent | Merge #8736: base58: Improve DecodeBase58 performance. (diff) | |
| download | discoin-e760b307f6210bee293796d606bcca87f86be200.tar.xz discoin-e760b307f6210bee293796d606bcca87f86be200.zip | |
qt: Use correct conversion function for boost::path datadir
Fixes #9089.
Diffstat (limited to 'src/qt/clientmodel.cpp')
| -rw-r--r-- | src/qt/clientmodel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp index 87704c641..f9caca687 100644 --- a/src/qt/clientmodel.cpp +++ b/src/qt/clientmodel.cpp @@ -6,6 +6,7 @@ #include "bantablemodel.h" #include "guiconstants.h" +#include "guiutil.h" #include "peertablemodel.h" #include "chainparams.h" @@ -208,7 +209,7 @@ QString ClientModel::formatClientStartupTime() const QString ClientModel::dataDir() const { - return QString::fromStdString(GetDataDir().string()); + return GUIUtil::boostPathToQString(GetDataDir()); } void ClientModel::updateBanlist() |