summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicspixmapitem
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-10-28 09:40:21 +0100
committerGunnar Sletta <gunnar@trolltech.com>2009-10-28 09:40:21 +0100
commite6767a4bd15f001df6927d7232598662977bea13 (patch)
tree0483a48f7dac8125a2b25e3b545056813bba79c9 /tests/auto/qgraphicspixmapitem
parent539294ab33467ceedbcd6054137b602865956915 (diff)
Updated testcase to match new boundingRect logic
Diffstat (limited to 'tests/auto/qgraphicspixmapitem')
-rw-r--r--tests/auto/qgraphicspixmapitem/tst_qgraphicspixmapitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgraphicspixmapitem/tst_qgraphicspixmapitem.cpp b/tests/auto/qgraphicspixmapitem/tst_qgraphicspixmapitem.cpp
index e25aef0dfe..5a62dc03a5 100644
--- a/tests/auto/qgraphicspixmapitem/tst_qgraphicspixmapitem.cpp
+++ b/tests/auto/qgraphicspixmapitem/tst_qgraphicspixmapitem.cpp
@@ -165,7 +165,7 @@ void tst_QGraphicsPixmapItem::boundingRect_data()
QTest::addColumn<QPixmap>("pixmap");
QTest::addColumn<QRectF>("boundingRect");
QTest::newRow("null") << QPixmap() << QRectF();
- QTest::newRow("10x10") << QPixmap(10, 10) << QRectF(-0.5, -0.5, 11, 11);
+ QTest::newRow("10x10") << QPixmap(10, 10) << QRectF(0, 0, 10, 10);
}
// public QRectF boundingRect() const