tests: make tst_qrawfont compile for QGlyphs -> QGlyphRun API change
authorRohan McGovern <rohan.mcgovern@nokia.com>
Tue, 10 May 2011 23:53:54 +0000 (09:53 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 11 May 2011 01:52:09 +0000 (11:52 +1000)
Broken by 051ef6f294e8cbfa1e30e99e7fd4cf5fb38393f4

Reviewed-by: Jason McDonald
Change-Id: Ia8589aba1bfb71d000d8fad455d90e704ba28972

tests/auto/qrawfont/tst_qrawfont.cpp

index cf46471..8c58407 100644 (file)
@@ -835,8 +835,8 @@ void tst_QRawFont::rawFontSetPixelSize()
     layout.createLine();
     layout.endLayout();
 
-    QGlyphs glyphs = layout.glyphs().at(0);
-    QRawFont rawFont = glyphs.font();
+    QGlyphRun glyphs = layout.glyphRuns().at(0);
+    QRawFont rawFont = glyphs.rawFont();
     QCOMPARE(rawFont.pixelSize(), 12.0);
 
     rawFont.setPixelSize(24);