aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickitem.cpp
diff options
context:
space:
mode:
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;
}