tests: make tst_qrawfont compile for QGlyphs -> QGlyphRun API change

Broken by 051ef6f294

Reviewed-by: Jason McDonald
Change-Id: Ia8589aba1bfb71d000d8fad455d90e704ba28972
This commit is contained in:
Rohan McGovern 2011-05-11 09:53:54 +10:00
parent ed8c43b5ee
commit 0012bd57a9

View 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);