diff options
author | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-06-03 05:50:33 (GMT) |
---|---|---|
committer | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-06-09 07:32:24 (GMT) |
commit | b5d987298b0502dd593dd09d7e4e1233d6e30dd6 (patch) | |
tree | 88eb782bc2f3d34e756d119101e6cc05e818cd5e /src/gui/graphicsview/qgraphicsscene_p.h | |
parent | 8af81877bb11d58099189bfab21d21e3021b7b8b (diff) | |
download | Qt-b5d987298b0502dd593dd09d7e4e1233d6e30dd6.zip Qt-b5d987298b0502dd593dd09d7e4e1233d6e30dd6.tar.gz Qt-b5d987298b0502dd593dd09d7e4e1233d6e30dd6.tar.bz2 |
Avoid constructing empty temporary QTransforms.
This is a microoptimization.
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene_p.h')
-rw-r--r-- | src/gui/graphicsview/qgraphicsscene_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene_p.h b/src/gui/graphicsview/qgraphicsscene_p.h index e0c48a6..8bc25b6 100644 --- a/src/gui/graphicsview/qgraphicsscene_p.h +++ b/src/gui/graphicsview/qgraphicsscene_p.h @@ -287,6 +287,7 @@ public: void updatePalette(const QPalette &palette); QStyleOptionGraphicsItem styleOptionTmp; + QTransform transformTmp; }; QT_END_NAMESPACE |