summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-10-27 12:51:07 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-10-27 12:59:26 (GMT)
commit3c6c4c6af0d5651097f7eb7c3b7b87eed5e8cc8f (patch)
tree2b129a61a49cd13048eb1198b8e8c8ad37839ff9
parent261eab49e7b7dcf21803d545dc03b9a44dc575e5 (diff)
downloadQt-3c6c4c6af0d5651097f7eb7c3b7b87eed5e8cc8f.zip
Qt-3c6c4c6af0d5651097f7eb7c3b7b87eed5e8cc8f.tar.gz
Qt-3c6c4c6af0d5651097f7eb7c3b7b87eed5e8cc8f.tar.bz2
Fixed compilation of QGraphicsEffectSource autotest.
-rw-r--r--tests/auto/qgraphicseffectsource/tst_qgraphicseffectsource.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qgraphicseffectsource/tst_qgraphicseffectsource.cpp b/tests/auto/qgraphicseffectsource/tst_qgraphicseffectsource.cpp
index 0635989..fbeb425 100644
--- a/tests/auto/qgraphicseffectsource/tst_qgraphicseffectsource.cpp
+++ b/tests/auto/qgraphicseffectsource/tst_qgraphicseffectsource.cpp
@@ -332,7 +332,7 @@ public:
return src.adjusted(-10, -10, 10, 10);
}
- void draw(QPainter *p, QGraphicsEffectSource *source) {
+ void draw(QPainter *, QGraphicsEffectSource *source) {
pix = source->pixmap(coordinateMode, &offset, padMode);
}
@@ -351,7 +351,7 @@ void tst_QGraphicsEffectSource::pixmapPadding_data()
QTest::addColumn<uint>("ulPixel");
QTest::newRow("log,nopad") << int(Qt::LogicalCoordinates)
- << int(QGraphicsEffectSource::NoPadMode)
+ << int(QGraphicsEffectSource::NoExpandPadMode)
<< QSize(10, 10) << QPoint(0, 0)
<< 0xffff0000u;
@@ -366,7 +366,7 @@ void tst_QGraphicsEffectSource::pixmapPadding_data()
<< 0x00000000u;
QTest::newRow("dev,nopad") << int(Qt::DeviceCoordinates)
- << int(QGraphicsEffectSource::NoPadMode)
+ << int(QGraphicsEffectSource::NoExpandPadMode)
<< QSize(20, 20) << QPoint(40, 40)
<< 0xffff0000u;