summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscene_p.h
diff options
context:
space:
mode:
authorAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-06-03 05:50:33 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-06-09 07:32:24 (GMT)
commitb5d987298b0502dd593dd09d7e4e1233d6e30dd6 (patch)
tree88eb782bc2f3d34e756d119101e6cc05e818cd5e /src/gui/graphicsview/qgraphicsscene_p.h
parent8af81877bb11d58099189bfab21d21e3021b7b8b (diff)
downloadQt-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.h1
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