From fd3280c2547e7d54e6d28bd65342512eea51ee67 Mon Sep 17 00:00:00 2001 From: dsc Date: Sun, 20 Jan 2019 16:18:27 +0100 Subject: CSV export functionality for transaction history --- main.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'main.cpp') 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()) { -- cgit v1.2.3