summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsvgrenderer
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@nokia.com>2010-07-22 08:27:58 (GMT)
committerAndy Shaw <andy.shaw@nokia.com>2010-07-22 08:27:58 (GMT)
commitbe227b0a01bb28f3ebebedc1aaa65cd8098edd81 (patch)
tree9c4c8f086875826cb1c42fe9d37ed5655555e487 /tests/auto/qsvgrenderer
parentc70e3f24a97b82f5ce9ad890fa95369e425a31ac (diff)
downloadQt-be227b0a01bb28f3ebebedc1aaa65cd8098edd81.zip
Qt-be227b0a01bb28f3ebebedc1aaa65cd8098edd81.tar.gz
Qt-be227b0a01bb28f3ebebedc1aaa65cd8098edd81.tar.bz2
Fix the smallFont test failure for Mac and Linux
Reviewed-by: Kim
Diffstat (limited to 'tests/auto/qsvgrenderer')
-rw-r--r--tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp b/tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp
index 519f4f5..69ae996 100644
--- a/tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp
+++ b/tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp
@@ -1356,7 +1356,9 @@ void tst_QSvgRenderer::smallFont()
QByteArray data(svgs[i]);
if (i == 0) {
QTest::ignoreMessage(QtWarningMsg, "QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0");
+#ifdef Q_WS_WIN
QTest::ignoreMessage(QtWarningMsg, "QFont::setPointSize: Point size <= 0 (0), must be greater than 0");
+#endif
}
QSvgRenderer renderer(data);
images[i] = QImage(50, 50, QImage::Format_ARGB32_Premultiplied);