summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscene.cpp
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2010-02-25 15:10:18 (GMT)
committerSami Merila <sami.merila@nokia.com>2010-02-25 15:10:18 (GMT)
commit1b9f273c3d0e10cb14a35a9a058b379b8777b5d8 (patch)
tree704575e93d35698f55d359c843f310d20de2dab8 /src/gui/graphicsview/qgraphicsscene.cpp
parentd996f6707a8733a8d151dcad59981cbb0f2f03f1 (diff)
parentd8465414e6fd543cfc20e732030dedd8d2bc685f (diff)
downloadQt-1b9f273c3d0e10cb14a35a9a058b379b8777b5d8.zip
Qt-1b9f273c3d0e10cb14a35a9a058b379b8777b5d8.tar.gz
Qt-1b9f273c3d0e10cb14a35a9a058b379b8777b5d8.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into 4.6
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene.cpp')
-rw-r--r--src/gui/graphicsview/qgraphicsscene.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene.cpp b/src/gui/graphicsview/qgraphicsscene.cpp
index 1cd1dba..afea082 100644
--- a/src/gui/graphicsview/qgraphicsscene.cpp
+++ b/src/gui/graphicsview/qgraphicsscene.cpp
@@ -4679,7 +4679,8 @@ void QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem *item, QPainter *
if (widget)
item->d_ptr->paintedViewBoundingRects.insert(widget, viewBoundingRect);
viewBoundingRect.adjust(-1, -1, 1, 1);
- drawItem = exposedRegion ? exposedRegion->intersects(viewBoundingRect) : !viewBoundingRect.isEmpty();
+ drawItem = exposedRegion ? exposedRegion->intersects(viewBoundingRect)
+ : !viewBoundingRect.normalized().isEmpty();
if (!drawItem) {
if (!itemHasChildren)
return;