summaryrefslogtreecommitdiff
path: root/tests/auto/qgraphicsproxywidget
diff options
context:
space:
mode:
authorAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-06-10 10:54:11 +0200
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-06-10 10:54:11 +0200
commit8b75843c44df306cf5003980f4563d0759dffe7e (patch)
tree4e5f405adb834c77447391c330cdd581600bb3ae /tests/auto/qgraphicsproxywidget
parent2af18f51f216d5c624ce28b3fa966a17050d882b (diff)
downloadqt4-tools-8b75843c44df306cf5003980f4563d0759dffe7e.tar.gz
Fix tst_QGraphicsProxyWidget::scrollUpdate test, wrong test.
It should not be necessary to adjust the expose rectangle by 1 in all directions; the expose has already been adjusted by the scene and view. Reviewed-by: bnilsen
Diffstat (limited to 'tests/auto/qgraphicsproxywidget')
-rw-r--r--tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp b/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp
index d856024787..fa0e03571e 100644
--- a/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp
+++ b/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp
@@ -1487,7 +1487,7 @@ void tst_QGraphicsProxyWidget::scrollUpdate()
QVector<QRect>() << QRect(0, 0, 200, 12) << QRect(0, 12, 102, 10));
QCOMPARE(widget->npaints, 2);
QCOMPARE(widget->paintEventRegion.rects(),
- QVector<QRect>() << QRect(0, 0, 200, 13) << QRect(0, 13, 103, 10));
+ QVector<QRect>() << QRect(0, 0, 200, 12) << QRect(0, 12, 102, 10));
}
void tst_QGraphicsProxyWidget::setWidget_simple()