mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 00:07:51 +00:00
main: disable NetworkAccessBlockingFactory.h if Qt < 5.12
Due to a potential Qt bug qrc:///lang/languages.xml gets blocked resulting in broken translations.
This commit is contained in:
parent
ccd8eb1c3a
commit
b54127e997
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue