summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicsitem
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-05-12 10:47:07 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-05-21 13:19:04 (GMT)
commitabc0bd321356907dafc4a5cbca57a335a9f6ae3e (patch)
tree780148556f72bff96ad1a906ece1562bd5f350bb /tests/auto/qgraphicsitem
parent4b1ddaa519c3fcf20cd1627fa8d580ebe6cafd4f (diff)
downloadQt-abc0bd321356907dafc4a5cbca57a335a9f6ae3e.zip
Qt-abc0bd321356907dafc4a5cbca57a335a9f6ae3e.tar.gz
Qt-abc0bd321356907dafc4a5cbca57a335a9f6ae3e.tar.bz2
Fixes wrong QGraphicsItemCache::boundingRect.
The boundingRect were in some cases not updated correctly, causing full item exposure. Another problem was that we used QRectF::toRect() instead of QRectF::toAlignedRect() when converting a QRectF to QRect. This commit also reduces the probability of doing pixmap scaling since we only pass an offset to QPainter::drawPixmap, instead of passing target and source rects. Task-number: Required by QTBUG-8378
Diffstat (limited to 'tests/auto/qgraphicsitem')
0 files changed, 0 insertions, 0 deletions