summaryrefslogtreecommitdiffstats
path: root/tests/auto/qauthenticator
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-09-16 14:37:24 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-09-16 16:25:57 (GMT)
commit9601abf3b03cfef589c092182bec3672fab6cde0 (patch)
treeb337bcaa8d2fbcab7dc2103ad18ac7fed89e299b /tests/auto/qauthenticator
parente76564e8a3b305f4fe69135bebb409e357f29f57 (diff)
downloadQt-9601abf3b03cfef589c092182bec3672fab6cde0.zip
Qt-9601abf3b03cfef589c092182bec3672fab6cde0.tar.gz
Qt-9601abf3b03cfef589c092182bec3672fab6cde0.tar.bz2
QGraphicsItem::childrenBoundingRect behavior breaks QGraphicsEffect::sourceBoundingRect().
Context: QGraphicsEffect::sourceBoundingRect() returns: item->boundingRect() | item->childrenBoundingRect(); Problem was that item->childrenBoundingRect() adjusted the children's bounding rect with the children's ancestor effects (child -> root item), which means the source bounding rect was bigger than needed. We should only account for effects downwards in the hierarchy. root (has effect) | item (has effect) | child | grandChild Auto test included. Task-number: QT-3633, QT-3828 Reviewed-by: samuel
Diffstat (limited to 'tests/auto/qauthenticator')
0 files changed, 0 insertions, 0 deletions