summaryrefslogtreecommitdiffstats
path: root/tests/auto/qprinter
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-07-07 08:31:52 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-07-08 15:28:39 (GMT)
commit1336f8268512a4ad29732acf75f2e6c4d41683ce (patch)
treef20c5e7f6c632adc1d0e5184a5bcabc0d8c68932 /tests/auto/qprinter
parentd228015c67614051df8ae0b2f0483572fd667b83 (diff)
downloadQt-1336f8268512a4ad29732acf75f2e6c4d41683ce.zip
Qt-1336f8268512a4ad29732acf75f2e6c4d41683ce.tar.gz
Qt-1336f8268512a4ad29732acf75f2e6c4d41683ce.tar.bz2
Reduce QTransform operations in Graphics View.
Use the item's cached scene transform directly instead of always making a copy of it. Moreover, we don't have to use the transform at all if the scene transform is a "translate only" transform :-). QTransform already use the same cut-offs, but it must update the type() before it can find out. We don't have to check the type() because that is already stored (and we usually don't call type() when we store the value either). All auto-tests pass.
Diffstat (limited to 'tests/auto/qprinter')
0 files changed, 0 insertions, 0 deletions