aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authordsc <xmrdsc@protonmail.com>2019-01-20 16:18:27 +0100
committerdsc <xmrdsc@protonmail.com>2019-01-21 04:50:43 +0100
commitfd3280c2547e7d54e6d28bd65342512eea51ee67 (patch)
tree7888e2a9eb8b98deb46451067723507ed1136264 /main.cpp
parent36eb1f80e1c070f753746519e2c9e4f01784f6c2 (diff)
downloadmonzero-gui-fd3280c2547e7d54e6d28bd65342512eea51ee67.tar.gz
monzero-gui-fd3280c2547e7d54e6d28bd65342512eea51ee67.tar.xz
monzero-gui-fd3280c2547e7d54e6d28bd65342512eea51ee67.zip
CSV export functionality for transaction history
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 82229c23..43b1f5a6 100644
--- a/main.cpp
+++ b/main.cpp
@@ -268,6 +268,11 @@ int main(int argc, char *argv[])
engine.rootContext()->setContextProperty("scaleRatio", 1);
#endif
+#ifndef Q_OS_IOS
+ const QString desktopFolder = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);
+ if (!desktopFolder.isEmpty())
+ engine.rootContext()->setContextProperty("desktopFolder", desktopFolder);
+#endif
if (!moneroAccountsRootDir.empty())
{