core/intercept: do not intercept non qml files

Avoids forcing Images to lazy load which causes unexpected flashes.
This commit is contained in:
outfoxxed 2024-03-19 21:30:46 -07:00
parent 518977932d
commit 9f38908bdf
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
4 changed files with 23 additions and 0 deletions

View file

@ -29,6 +29,7 @@ public:
static EngineGeneration* findObjectGeneration(QObject* object);
QmlScanner scanner;
QsUrlInterceptor urlInterceptor;
QsInterceptNetworkAccessManagerFactory interceptNetFactory;
QQmlEngine engine;
ShellRoot* root = nullptr;