summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@nokia.com>2010-07-22 14:25:44 (GMT)
committerAndy Shaw <andy.shaw@nokia.com>2010-07-22 14:25:44 (GMT)
commit7c086ff4e735f699451124b0fdbc380480dd418b (patch)
tree88877e22598342fcfb3cfc8a2eb3bca11b50842c
parente8cdf0c57e269489c4759ddfec04daa4f093a13f (diff)
downloadQt-7c086ff4e735f699451124b0fdbc380480dd418b.zip
Qt-7c086ff4e735f699451124b0fdbc380480dd418b.tar.gz
Qt-7c086ff4e735f699451124b0fdbc380480dd418b.tar.bz2
Remove a warning message that no longer appears after all on Windows
Reviewed-by: TrustMe
-rw-r--r--tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp b/tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp
index 69ae996..02e2921 100644
--- a/tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp
+++ b/tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp
@@ -1354,12 +1354,8 @@ void tst_QSvgRenderer::smallFont()
for (int i = 0; i < COUNT; ++i) {
QByteArray data(svgs[i]);
- if (i == 0) {
+ 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);
images[i].fill(-1);