aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickitem.cpp
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2012-09-05 15:51:02 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-07 05:40:31 +0200
commita3ca899129cff374386fdc7b702548b01c820bbe (patch)
tree9681050904aa19fc6ab18f58e4a60dcabca11bf6 /src/quick/items/qquickitem.cpp
parentf4be00df17b02bab2bd91d68ec7315a717a5a7e8 (diff)
Doc: Fix documentation issues.
Change-Id: I03c4faa1aee60cd1ad706cb6c1b983f03311d251 Reviewed-by: aavit <qt_aavit@ovi.com>
Diffstat (limited to 'src/quick/items/qquickitem.cpp')
-rw-r--r--src/quick/items/qquickitem.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/quick/items/qquickitem.cpp b/src/quick/items/qquickitem.cpp
index d1fa60004e..12474fd53e 100644
--- a/src/quick/items/qquickitem.cpp
+++ b/src/quick/items/qquickitem.cpp
@@ -2952,7 +2952,8 @@ void QQuickItem::geometryChanged(const QRectF &newGeometry, const QRectF &oldGeo
this item. Most implementations will return a single
QSGGeometryNode containing the visual representation of this item.
\a oldNode is the node that was returned the last time the
- function was called.
+ function was called. \a updatePaintNodeData provides a pointer to
+ the QSGTransformNode associated with this QQuickItem.
\code
QSGNode *MyItem::updatePaintNode(QSGNode *node, UpdatePaintNodeData *)
@@ -2985,8 +2986,9 @@ void QQuickItem::geometryChanged(const QRectF &newGeometry, const QRectF &oldGeo
QSGFlatColorMaterial, QSGTextureMaterial, QSGNode::markDirty()
*/
-QSGNode *QQuickItem::updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *)
+QSGNode *QQuickItem::updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *updatePaintNodeData)
{
+ Q_UNUSED(updatePaintNodeData)
delete oldNode;
return 0;
}