summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsitem_p.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-04-16 03:25:35 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-04-16 03:25:35 (GMT)
commit575f0064bd91e26daa75805c142c10a04a32c2fd (patch)
tree0f54233b31901dfbcbc3f3ebcc60b82bf1ad2b0a /src/gui/graphicsview/qgraphicsitem_p.h
parent7b0d764f37fa4009dc1556666eb8a141164fb0e0 (diff)
downloadQt-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.h1
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 {