diff options
author | Albert Astals Cid <albert.astals@canonical.com> | 2015-06-30 10:38:06 +0200 |
---|---|---|
committer | Albert Astals Cid <albert.astals@canonical.com> | 2015-06-30 09:59:37 +0000 |
commit | 572614f6bc58dbed0f7c335db714b43e8cb1f965 (patch) | |
tree | 6d3a510c01de94fa02c965901f48eb5da76b9731 /src/quick/util/qquickimageprovider.cpp | |
parent | 5112821a37ab749f758e354e84703df2d09d5471 (diff) |
Improve QQuickImageResponse::textureFactory documentation a bit
Change-Id: Iabbe4fc3fe1806d8b0740fa3dd9309d6137ccbac
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'src/quick/util/qquickimageprovider.cpp')
-rw-r--r-- | src/quick/util/qquickimageprovider.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/quick/util/qquickimageprovider.cpp b/src/quick/util/qquickimageprovider.cpp index 70fc3a0973..89615a2079 100644 --- a/src/quick/util/qquickimageprovider.cpp +++ b/src/quick/util/qquickimageprovider.cpp @@ -193,8 +193,9 @@ void QQuickImageResponse::cancel() /*! \fn QQuickTextureFactory *QQuickImageResponse::textureFactory() const - Returns the texture factory the job. You can use QQuickTextureFactory::textureFactoryForImage - if your provider works with QImage + Returns the texture factory for the job. You can use QQuickTextureFactory::textureFactoryForImage + if your provider works with QImage. This method is only called when the error string is not empty and the + engine takes ownership of the returned QQuickTextureFactory. */ |