diff options
author | Maurice Kalinowski <maurice.kalinowski@nokia.com> | 2009-04-06 12:29:02 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-04-07 05:53:57 (GMT) |
commit | 7255e03be8f9caa8fc9240ada2605a7b60a31e36 (patch) | |
tree | 5ddbf5e38287767d128f08ff561fc0d4097695cb | |
parent | af6b19e074cecc81fa943f8e1a7e6e24549583d7 (diff) | |
download | Qt-7255e03be8f9caa8fc9240ada2605a7b60a31e36.zip Qt-7255e03be8f9caa8fc9240ada2605a7b60a31e36.tar.gz Qt-7255e03be8f9caa8fc9240ada2605a7b60a31e36.tar.bz2 |
compile for systems without Qt3Support
Reviewed-by: joerg
QTest::newRow only accepts char* and without Qt3Support there is no implicit cast available.
(cherry picked from commit b8dcae1572651774085024ddf4cb02e4a954bcd7)
-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); } |