Merge pull request #2975

b54127e main: disable NetworkAccessBlockingFactory.h if Qt < 5.12 (selsta)
This commit is contained in:
luigi1111 2020-06-30 14:43:32 -05:00
commit e0faddf964
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -418,7 +418,9 @@ Verify update binary using 'shasum'-compatible (SHA256 algo) output signed by tw
QQmlApplicationEngine engine;
#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
engine.setNetworkAccessManagerFactory(new NetworkAccessBlockingFactory);
#endif
OSCursor cursor;
engine.rootContext()->setContextProperty("globalCursor", &cursor);
OSHelper osHelper;