From 66e769603ceebabcc6b1726858093506aafd72ee Mon Sep 17 00:00:00 2001 From: selsta Date: Thu, 14 May 2020 23:11:31 +0200 Subject: QML: disable networking --- src/main/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/main.cpp') diff --git a/src/main/main.cpp b/src/main/main.cpp index 16d91b0a..2f597b8b 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -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; -- cgit v1.2.3