aboutsummaryrefslogtreecommitdiff
path: root/src/qt/paymentserver.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-11-07 12:11:59 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-11-07 12:57:07 +0100
commite760b307f6210bee293796d606bcca87f86be200 (patch)
tree25cd2483a557cfc85e0ad1d81d1e453d1a7948b3 /src/qt/paymentserver.cpp
parent5fa7b07565d2c7c1edfb9a2f8c1af42d039d99ee (diff)
qt: Use correct conversion function for boost::path datadir
Fixes #9089.
Diffstat (limited to 'src/qt/paymentserver.cpp')
-rw-r--r--src/qt/paymentserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/paymentserver.cpp b/src/qt/paymentserver.cpp
index 9f23e77a13..478f5ccf12 100644
--- a/src/qt/paymentserver.cpp
+++ b/src/qt/paymentserver.cpp
@@ -80,7 +80,7 @@ static QString ipcServerName()
// Append a simple hash of the datadir
// Note that GetDataDir(true) returns a different path
// for -testnet versus main net
- QString ddir(QString::fromStdString(GetDataDir(true).string()));
+ QString ddir(GUIUtil::boostPathToQString(GetDataDir(true)));
name.append(QString::number(qHash(ddir)));
return name;