aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-06-10 16:41:13 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-06-10 16:41:13 +0300
commitfd50e6f9a3bc445cb3c0d21b7a0f584e95b44450 (patch)
treee942ec37af313d0e51a2f7f7eca8f45ff834b679 /main.cpp
parent5c10be325103d668884fc5e463aaa59c726d4f8e (diff)
downloadmonzero-gui-fd50e6f9a3bc445cb3c0d21b7a0f584e95b44450.tar.gz
monzero-gui-fd50e6f9a3bc445cb3c0d21b7a0f584e95b44450.tar.xz
monzero-gui-fd50e6f9a3bc445cb3c0d21b7a0f584e95b44450.zip
new wallet wizard: wallet created in temporary directory and moved to
the destination at the final step
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 6c529ed0..39e4635d 100644
--- a/main.cpp
+++ b/main.cpp
@@ -33,10 +33,13 @@
#include "clipboardAdapter.h"
#include "filter.h"
#include "oscursor.h"
+#include "oshelper.h"
#include "WalletManager.h"
#include "Wallet.h"
+
+
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
@@ -51,6 +54,9 @@ int main(int argc, char *argv[])
OSCursor cursor;
engine.rootContext()->setContextProperty("globalCursor", &cursor);
+ OSHelper osHelper;
+ engine.rootContext()->setContextProperty("oshelper", &osHelper);
+
engine.rootContext()->setContextProperty("walletManager", WalletManager::instance());
// export to QML monero accounts root directory