Skip to content

Commit

Permalink
Merge pull request #2975
Browse files Browse the repository at this point in the history
b54127e main: disable NetworkAccessBlockingFactory.h if Qt < 5.12 (selsta)
  • Loading branch information
luigi1111 committed Jun 30, 2020
2 parents ccd8eb1 + b54127e commit e0faddf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e0faddf

Please sign in to comment.