aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/main.cpp b/src/main/main.cpp
index b17c0e19..3aeb2ded 100644
--- a/src/main/main.cpp
+++ b/src/main/main.cpp
@@ -38,6 +38,9 @@
#include <QScreen>
#include <QRegExp>
#include <QThread>
+
+#include <version.h>
+
#include "clipboardAdapter.h"
#include "filter.h"
#include "oscursor.h"
@@ -492,6 +495,8 @@ Verify update binary using 'shasum'-compatible (SHA256 algo) output signed by tw
#endif
engine.rootContext()->setContextProperty("builtWithScanner", builtWithScanner);
+ engine.rootContext()->setContextProperty("moneroVersion", MONERO_VERSION_FULL);
+
Network network;
engine.rootContext()->setContextProperty("Network", &network);