summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qrawfont/tst_qrawfont.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qrawfont/tst_qrawfont.cpp b/tests/auto/qrawfont/tst_qrawfont.cpp
index cf46471033..8c5840703a 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);