aboutsummaryrefslogtreecommitdiff
path: root/pages/settings
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-04-28 15:16:57 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-04-28 15:16:57 -0500
commit1b7844ec345033b7809ef69ad941bd8a4a3986fb (patch)
treea3f1646f51bc47502f1ee764add39bad9f57f0d0 /pages/settings
parent8f63e8870f6ef859f3f1500653a028aca2278274 (diff)
parenta99eef68f5e621f78df3b8f54e0b44a6178437f5 (diff)
downloadmonzero-gui-1b7844ec345033b7809ef69ad941bd8a4a3986fb.tar.gz
monzero-gui-1b7844ec345033b7809ef69ad941bd8a4a3986fb.tar.xz
monzero-gui-1b7844ec345033b7809ef69ad941bd8a4a3986fb.zip
Merge pull request #2854
a99eef6 always use native directory separators in paths (xiphon)
Diffstat (limited to 'pages/settings')
-rw-r--r--pages/settings/SettingsInfo.qml10
1 files changed, 3 insertions, 7 deletions
diff --git a/pages/settings/SettingsInfo.qml b/pages/settings/SettingsInfo.qml
index 84d066e7..861f0d39 100644
--- a/pages/settings/SettingsInfo.qml
+++ b/pages/settings/SettingsInfo.qml
@@ -131,10 +131,11 @@ Rectangle {
}
MoneroComponents.TextBlock {
+ id: walletLocation
Layout.fillWidth: true
color: MoneroComponents.Style.dimmedFontColor
font.pixelSize: 14
- property string walletPath: (isIOS ? moneroAccountsDir : "") + appWindow.walletPath()
+ property string walletPath: (isIOS ? moneroAccountsDir : "") + persistentSettings.wallet_path
text: "\
<style type='text/css'>\
a {cursor:pointer;text-decoration: none; color: #FF6C3C}\
@@ -389,12 +390,7 @@ Rectangle {
var data = "";
data += "GUI version: " + Version.GUI_VERSION + " (Qt " + qtRuntimeVersion + ")";
data += "\nEmbedded Monero version: " + Version.GUI_MONERO_VERSION;
- data += "\nWallet path: ";
-
- var wallet_path = walletPath();
- if(isIOS)
- wallet_path = moneroAccountsDir + wallet_path;
- data += wallet_path;
+ data += "\nWallet path: " + walletLocation.walletPath;
data += "\nWallet creation height: ";
if(currentWallet)