Doc fix for QDeclarativeEngine
authorDamian Jansen <damian.jansen@nokia.com>
Wed, 7 Sep 2011 01:17:27 +0000 (11:17 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 7 Sep 2011 06:53:52 +0000 (08:53 +0200)
imageProvider return details in wrong place.

Change-Id: I5e2162b88a6bfd95222b9a7ac87d408c7740558d
Reviewed-on: http://codereview.qt.nokia.com/4295
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Damian Jansen <damian.jansen@nokia.com>
src/declarative/qml/qdeclarativeengine.cpp

index fa7854b..789c9ed 100644 (file)
@@ -663,6 +663,8 @@ void QDeclarativeEngine::addImageProvider(const QString &providerId, QDeclarativ
 
 /*!
   Returns the QDeclarativeImageProvider set for \a providerId.
+
+  Returns the provider if it was found; otherwise returns 0.
 */
 QDeclarativeImageProvider *QDeclarativeEngine::imageProvider(const QString &providerId) const
 {
@@ -674,8 +676,6 @@ QDeclarativeImageProvider *QDeclarativeEngine::imageProvider(const QString &prov
 /*!
   Removes the QDeclarativeImageProvider for \a providerId.
 
-  Returns the provider if it was found; otherwise returns 0.
-
   \sa addImageProvider()
 */
 void QDeclarativeEngine::removeImageProvider(const QString &providerId)