diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2019-06-20 15:40:49 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2019-06-25 08:06:28 +0200 |
commit | c8827b444c23656f67feee2e3ebd4f2868ab3db7 (patch) | |
tree | 3394b91e7042c6332eb075a64fe9f6e9a4acd853 /src/qml/qml/qqmlengine_p.h | |
parent | 1404009264e3526838c608269a45d9acf61f5e46 (diff) |
QQmlEngine: keep ImageProvider alive while in use
Fixes: QTBUG-76527
Change-Id: I4044ae833eff61a3f06c2366597c1623b26794b0
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlengine_p.h')
-rw-r--r-- | src/qml/qml/qqmlengine_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlengine_p.h b/src/qml/qml/qqmlengine_p.h index 3b716683fd..e58ff554a7 100644 --- a/src/qml/qml/qqmlengine_p.h +++ b/src/qml/qml/qqmlengine_p.h @@ -167,6 +167,8 @@ public: mutable QQmlNetworkAccessManagerFactory *networkAccessManagerFactory; #endif QHash<QString,QSharedPointer<QQmlImageProviderBase> > imageProviders; + QSharedPointer<QQmlImageProviderBase> imageProvider(const QString &providerId) const; + QQmlAbstractUrlInterceptor* urlInterceptor; |