diff options
author | Maurice Kalinowski <maurice.kalinowski@nokia.com> | 2009-04-06 12:29:02 (GMT) |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@nokia.com> | 2009-04-06 12:30:08 (GMT) |
commit | b8dcae1572651774085024ddf4cb02e4a954bcd7 (patch) | |
tree | 1b30243fc93e6f9fc7c4fb23d00bc07d3d1a6adf | |
parent | f06c4f2d7378b40a0a184393a8986032d5a700ee (diff) | |
download | Qt-b8dcae1572651774085024ddf4cb02e4a954bcd7.zip Qt-b8dcae1572651774085024ddf4cb02e4a954bcd7.tar.gz Qt-b8dcae1572651774085024ddf4cb02e4a954bcd7.tar.bz2 |
compile for systems without Qt3Support
Reviewed-by: joerg
QTest::newRow only accepts char* and without Qt3Support there is no implicit cast available.
-rw-r--r-- | tests/auto/qpainter/tst_qpainter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qpainter/tst_qpainter.cpp b/tests/auto/qpainter/tst_qpainter.cpp index a4c768d..fb8df2e 100644 --- a/tests/auto/qpainter/tst_qpainter.cpp +++ b/tests/auto/qpainter/tst_qpainter.cpp @@ -3629,7 +3629,7 @@ void tst_QPainter::drawImage_data() QString("srcFormat %1, dstFormat %2, odd x: %3, odd width: %4") .arg(srcFormat).arg(dstFormat).arg(odd_x).arg(odd_width); - QTest::newRow(description) << (10 + odd_x) << 10 << (20 + odd_width) << 20 + QTest::newRow(qPrintable(description)) << (10 + odd_x) << 10 << (20 + odd_width) << 20 << QImage::Format(srcFormat) << QImage::Format(dstFormat); } |