summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qlabel.cpp
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-02-23 14:56:28 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-02-23 16:27:26 (GMT)
commitf0076dfed6543c622418359b3c217c171249cfb3 (patch)
tree68b0029ed13346b422b10e7062b27bb4066595bf /src/gui/widgets/qlabel.cpp
parent510cb9e5b2c4702753685d59f10bb0464b7d9991 (diff)
downloadQt-f0076dfed6543c622418359b3c217c171249cfb3.zip
Qt-f0076dfed6543c622418359b3c217c171249cfb3.tar.gz
Qt-f0076dfed6543c622418359b3c217c171249cfb3.tar.bz2
Regression: QGraphicsScene::render fails to render the entire scene correctly.
This only happened with items that had either negative width or height (boundingRect().width()|height()). Problem was that in case of not having an exposed region (drawing items from QGraphicsScene::render), we simply checked whether the bounding rect was empty or not. This is fine, however we have to normalize the rect first. (Note that QRegion::intersects(rect) always normalizes the rect, so that's why this use case broke only when calling QGraphicsScene::render). Auto-test included. Task-number: QTBUG-7775 Reviewed-by: yoann
Diffstat (limited to 'src/gui/widgets/qlabel.cpp')
0 files changed, 0 insertions, 0 deletions