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:
parent
ed8c43b5ee
commit
0012bd57a9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user