diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-05-12 10:47:07 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-05-21 13:19:04 (GMT) |
commit | abc0bd321356907dafc4a5cbca57a335a9f6ae3e (patch) | |
tree | 780148556f72bff96ad1a906ece1562bd5f350bb /tests/auto/qgraphicsitem | |
parent | 4b1ddaa519c3fcf20cd1627fa8d580ebe6cafd4f (diff) | |
download | Qt-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