mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-02-25 03:00:30 +02: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
@ -418,7 +418,9 @@ Verify update binary using 'shasum'-compatible (SHA256 algo) output signed by tw
|
|||||||
|
|
||||||
QQmlApplicationEngine engine;
|
QQmlApplicationEngine engine;
|
||||||
|
|
||||||
|
#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
|
||||||
engine.setNetworkAccessManagerFactory(new NetworkAccessBlockingFactory);
|
engine.setNetworkAccessManagerFactory(new NetworkAccessBlockingFactory);
|
||||||
|
#endif
|
||||||
OSCursor cursor;
|
OSCursor cursor;
|
||||||
engine.rootContext()->setContextProperty("globalCursor", &cursor);
|
engine.rootContext()->setContextProperty("globalCursor", &cursor);
|
||||||
OSHelper osHelper;
|
OSHelper osHelper;
|
||||||
|
Loading…
Reference in New Issue
Block a user