aboutsummaryrefslogtreecommitdiff
path: root/src/libwalletqt/Wallet.cpp
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-04-24 00:43:40 +0000
committerxiphon <xiphon@protonmail.com>2020-04-24 00:43:40 +0000
commita99eef68f5e621f78df3b8f54e0b44a6178437f5 (patch)
tree567dcf5abb47fb1e2b28ec620de2a4199e42b5aa /src/libwalletqt/Wallet.cpp
parent585fb2810dc0d9b79255b9bd479559b36aa087d8 (diff)
downloadmonzero-gui-a99eef68f5e621f78df3b8f54e0b44a6178437f5.tar.gz
monzero-gui-a99eef68f5e621f78df3b8f54e0b44a6178437f5.tar.xz
monzero-gui-a99eef68f5e621f78df3b8f54e0b44a6178437f5.zip
always use native directory separators in paths
Diffstat (limited to 'src/libwalletqt/Wallet.cpp')
-rw-r--r--src/libwalletqt/Wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp
index c3f7cb97..8eacb113 100644
--- a/src/libwalletqt/Wallet.cpp
+++ b/src/libwalletqt/Wallet.cpp
@@ -227,7 +227,7 @@ QString Wallet::address(quint32 accountIndex, quint32 addressIndex) const
QString Wallet::path() const
{
- return QString::fromStdString(m_walletImpl->path());
+ return QDir::toNativeSeparators(QString::fromStdString(m_walletImpl->path()));
}
bool Wallet::store(const QString &path)