summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-11-03 09:56:06 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-11-03 09:56:06 (GMT)
commit2a0d6bf8d3f7c92667512d2222cf2304e06130b4 (patch)
tree24fbd07f564bde44a6683ac2c7051afd98f20fc7
parentc7386b14e0c9844db91ca0d2ae6bded6efa008aa (diff)
downloadQt-2a0d6bf8d3f7c92667512d2222cf2304e06130b4.zip
Qt-2a0d6bf8d3f7c92667512d2222cf2304e06130b4.tar.gz
Qt-2a0d6bf8d3f7c92667512d2222cf2304e06130b4.tar.bz2
Adapt testcase to cosmetic pen workarounds in code
Reviewed-by: Samuel
-rw-r--r--tests/auto/qgraphicseffectsource/tst_qgraphicseffectsource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qgraphicseffectsource/tst_qgraphicseffectsource.cpp b/tests/auto/qgraphicseffectsource/tst_qgraphicseffectsource.cpp
index fbeb425..55294d5 100644
--- a/tests/auto/qgraphicseffectsource/tst_qgraphicseffectsource.cpp
+++ b/tests/auto/qgraphicseffectsource/tst_qgraphicseffectsource.cpp
@@ -357,7 +357,7 @@ void tst_QGraphicsEffectSource::pixmapPadding_data()
QTest::newRow("log,transparent") << int(Qt::LogicalCoordinates)
<< int(QGraphicsEffectSource::ExpandToTransparentBorderPadMode)
- << QSize(12, 12) << QPoint(-1, -1)
+ << QSize(14, 14) << QPoint(-2, -2)
<< 0x00000000u;
QTest::newRow("log,effectrect") << int(Qt::LogicalCoordinates)
@@ -372,7 +372,7 @@ void tst_QGraphicsEffectSource::pixmapPadding_data()
QTest::newRow("dev,transparent") << int(Qt::DeviceCoordinates)
<< int(QGraphicsEffectSource::ExpandToTransparentBorderPadMode)
- << QSize(22, 22) << QPoint(39, 39)
+ << QSize(24, 24) << QPoint(38, 38)
<< 0x00000000u;
QTest::newRow("dev,effectrect") << int(Qt::DeviceCoordinates)