doc fix
authorCharles Yin <charles.yin@nokia.com>
Mon, 21 May 2012 04:50:40 +0000 (14:50 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 22 May 2012 00:01:50 +0000 (02:01 +0200)
renderTarget/renderStrategy property type should be enumeration.

Change-Id: I454c5c1d7b5be8290a25b81f8a9b9a54ebf515ec
Reviewed-by: Damian Jansen <damian.jansen@nokia.com>
src/quick/items/context2d/qquickcanvasitem.cpp

index a562292..41f4ff4 100644 (file)
@@ -402,7 +402,7 @@ void QQuickCanvasItem::setCanvasWindow(const QRectF& rect)
 }
 
 /*!
-    \qmlproperty bool QtQuick2::Canvas::renderTarget
+    \qmlproperty enumeration QtQuick2::Canvas::renderTarget
     Holds the current canvas render target.
 
     \list
@@ -439,7 +439,7 @@ void QQuickCanvasItem::setRenderTarget(QQuickCanvasItem::RenderTarget target)
 }
 
 /*!
-    \qmlproperty bool QtQuick2::Canvas::renderStrategy
+    \qmlproperty enumeration QtQuick2::Canvas::renderStrategy
     Holds the current canvas rendering strategy.
 
     \list