forked from Public/monero-gui
QML: disable networking
This commit is contained in:
@@ -69,6 +69,7 @@
|
||||
#include "qt/TailsOS.h"
|
||||
#include "qt/KeysFiles.h"
|
||||
#include "qt/MoneroSettings.h"
|
||||
#include "qt/NetworkAccessBlockingFactory.h"
|
||||
|
||||
// IOS exclusions
|
||||
#ifndef Q_OS_IOS
|
||||
@@ -403,6 +404,7 @@ Verify update binary using 'shasum'-compatible (SHA256 algo) output signed by tw
|
||||
|
||||
QQmlApplicationEngine engine;
|
||||
|
||||
engine.setNetworkAccessManagerFactory(new NetworkAccessBlockingFactory);
|
||||
OSCursor cursor;
|
||||
engine.rootContext()->setContextProperty("globalCursor", &cursor);
|
||||
OSHelper osHelper;
|
||||
|
||||
Reference in New Issue
Block a user