summaryrefslogtreecommitdiffstats
path: root/tests/auto/qstatictext
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2010-09-20 10:58:33 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2010-09-20 11:30:27 (GMT)
commit4119428bff5c7342d134824bd18f2b2c54df1396 (patch)
tree840c751d7abe39de79bb1053ea6c96e608789aa3 /tests/auto/qstatictext
parent072be90e0240ec544a9f2910e7e1c6533d1efc68 (diff)
downloadQt-4119428bff5c7342d134824bd18f2b2c54df1396.zip
Qt-4119428bff5c7342d134824bd18f2b2c54df1396.tar.gz
Qt-4119428bff5c7342d134824bd18f2b2c54df1396.tar.bz2
Fixed QStaticText auto-test to work with raster graphicssystem.
Reviewed-by: Eskil
Diffstat (limited to 'tests/auto/qstatictext')
-rw-r--r--tests/auto/qstatictext/tst_qstatictext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qstatictext/tst_qstatictext.cpp b/tests/auto/qstatictext/tst_qstatictext.cpp
index 49d6633..6a78cb8 100644
--- a/tests/auto/qstatictext/tst_qstatictext.cpp
+++ b/tests/auto/qstatictext/tst_qstatictext.cpp
@@ -359,7 +359,7 @@ bool tst_QStaticText::supportsTransformations() const
QPaintEngine::Type type = engine->type();
if (type == QPaintEngine::OpenGL
-#if !defined Q_WS_WIN
+#if !defined(Q_WS_WIN) && !defined(Q_WS_X11)
|| type == QPaintEngine::Raster
#endif
)