tests/auto/qstatictext/tst_qstatictext.cpp
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
child 37 758a864f9613
--- a/tests/auto/qstatictext/tst_qstatictext.cpp	Tue Jul 06 15:10:48 2010 +0300
+++ b/tests/auto/qstatictext/tst_qstatictext.cpp	Wed Aug 18 10:37:55 2010 +0300
@@ -324,8 +324,7 @@
 
     QPaintEngine::Type type = engine->type();
 
-    if (type == QPaintEngine::OpenGL2
-        || type == QPaintEngine::OpenGL
+    if (type == QPaintEngine::OpenGL
 #if !defined Q_WS_WIN
         || type == QPaintEngine::Raster
 #endif
@@ -471,7 +470,7 @@
 
         p.drawText(QRectF(0, 0, 1000, 1000), 0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");
 
-        p.scale(7.0, 5.0);
+        p.scale(2.0, 2.5);
         p.drawText(QRectF(0, 0, 1000, 1000), 0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");
     }
 
@@ -487,7 +486,7 @@
 
         p.drawStaticText(QPointF(0, 0), text);
 
-        p.scale(7.0, 5.0);
+        p.scale(2.0, 2.5);
         p.drawStaticText(QPointF(0, 0), text);
     }