diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-04-16 03:25:35 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-04-16 03:25:35 (GMT) |
commit | 575f0064bd91e26daa75805c142c10a04a32c2fd (patch) | |
tree | 0f54233b31901dfbcbc3f3ebcc60b82bf1ad2b0a /src/gui/graphicsview/qgraphicsitem_p.h | |
parent | 7b0d764f37fa4009dc1556666eb8a141164fb0e0 (diff) | |
download | Qt-575f0064bd91e26daa75805c142c10a04a32c2fd.zip Qt-575f0064bd91e26daa75805c142c10a04a32c2fd.tar.gz Qt-575f0064bd91e26daa75805c142c10a04a32c2fd.tar.bz2 |
Avoid calling QGraphicsItem::setTransformOriginPoint() until needed
Task-number: QTBUG-9772
Reviewed-by: Alexis
Diffstat (limited to 'src/gui/graphicsview/qgraphicsitem_p.h')
-rw-r--r-- | src/gui/graphicsview/qgraphicsitem_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem_p.h b/src/gui/graphicsview/qgraphicsitem_p.h index f922842..8c7fbb4 100644 --- a/src/gui/graphicsview/qgraphicsitem_p.h +++ b/src/gui/graphicsview/qgraphicsitem_p.h @@ -284,6 +284,7 @@ public: void setEnabledHelper(bool newEnabled, bool explicitly, bool update = true); bool discardUpdateRequest(bool ignoreVisibleBit = false, bool ignoreDirtyBit = false, bool ignoreOpacity = false) const; + virtual void transformChanged() {} int depth() const; #ifndef QT_NO_GRAPHICSEFFECT enum InvalidateReason { |