diff options
author | Charles Yin <charles.yin@nokia.com> | 2011-10-27 13:06:57 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-28 22:31:32 +0200 |
commit | 1bc655b46738811268b50b318a3f3cd03ff02aff (patch) | |
tree | 4bd5d7f5659033b51d7039f90e5237614d826594 /src/declarative/items/qquickpainteditem.h | |
parent | 4e644d592655c806bacbce051eb4b7d1f8aacd67 (diff) |
Fix PaintedItem redraw bug
1) After QQuickItem::update() being called (means item's content is dirty),
the paint() function should always been called, so the contentsDirty
and geometryDirty flags are not needed.
2) Update the smile example to validate the above changes
Task-number:QTBUG-22250
Change-Id: I5a72f18e6982bdb3ba23e78a253c2876aca2e8cb
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Reviewed-by: Yoann Lopes <yoann.lopes@nokia.com>
Diffstat (limited to 'src/declarative/items/qquickpainteditem.h')
-rw-r--r-- | src/declarative/items/qquickpainteditem.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/declarative/items/qquickpainteditem.h b/src/declarative/items/qquickpainteditem.h index 1ddfa25c5e..b2da9e6c7a 100644 --- a/src/declarative/items/qquickpainteditem.h +++ b/src/declarative/items/qquickpainteditem.h @@ -114,7 +114,6 @@ Q_SIGNALS: protected: QQuickPaintedItem(QQuickPaintedItemPrivate &dd, QQuickItem *parent = 0); - virtual void geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry); virtual QSGNode *updatePaintNode(QSGNode *, UpdatePaintNodeData *); private: |