diff options
| author | selsta <selsta@sent.at> | 2020-05-14 23:11:31 +0200 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2020-05-15 06:21:08 +0200 |
| commit | 66e769603ceebabcc6b1726858093506aafd72ee (patch) | |
| tree | dca0ee12a14cb0a815cdb4cbb9222af9090c6494 /src/main/main.cpp | |
| parent | afe1ae9b9c4c2d9e9628f4fecfea3038725d95df (diff) | |
| download | monzero-gui-66e769603ceebabcc6b1726858093506aafd72ee.tar.gz monzero-gui-66e769603ceebabcc6b1726858093506aafd72ee.tar.xz monzero-gui-66e769603ceebabcc6b1726858093506aafd72ee.zip | |
QML: disable networking
Diffstat (limited to 'src/main/main.cpp')
| -rw-r--r-- | src/main/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
