From: Rohan McGovern Date: Tue, 10 May 2011 23:53:54 +0000 (+1000) Subject: tests: make tst_qrawfont compile for QGlyphs -> QGlyphRun API change X-Git-Tag: qt-v5.0.0-alpha1~4317^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0012bd57a905828dc1f99ae64a182b702455f3bb;p=profile%2Fivi%2Fqtbase.git tests: make tst_qrawfont compile for QGlyphs -> QGlyphRun API change Broken by 051ef6f294e8cbfa1e30e99e7fd4cf5fb38393f4 Reviewed-by: Jason McDonald Change-Id: Ia8589aba1bfb71d000d8fad455d90e704ba28972 --- diff --git a/tests/auto/qrawfont/tst_qrawfont.cpp b/tests/auto/qrawfont/tst_qrawfont.cpp index cf46471..8c58407 100644 --- a/tests/auto/qrawfont/tst_qrawfont.cpp +++ b/tests/auto/qrawfont/tst_qrawfont.cpp @@ -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);