version: use MONERO_VERSION_FULL const as monero core version

This commit is contained in:
xiphon
2020-07-10 13:37:04 +00:00
parent c137a6ea36
commit 36262f029a
6 changed files with 15 additions and 14 deletions

View File

@@ -38,6 +38,9 @@
#include <QScreen>
#include <QRegExp>
#include <QThread>
#include <version.h>
#include "clipboardAdapter.h"
#include "filter.h"
#include "oscursor.h"
@@ -499,6 +502,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);