summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-05-11 09:53:54 +1000
committerRohan McGovern <rohan.mcgovern@nokia.com>2011-05-11 11:52:09 +1000
commit0012bd57a905828dc1f99ae64a182b702455f3bb (patch)
tree5de6852d7d056cfa951a5ac0872c8cee3f6ef1c9 /tests
parented8c43b5eef3da60900b169a66f0baf8afd6f0a7 (diff)
tests: make tst_qrawfont compile for QGlyphs -> QGlyphRun API change
Broken by 051ef6f294e8cbfa1e30e99e7fd4cf5fb38393f4 Reviewed-by: Jason McDonald Change-Id: Ia8589aba1bfb71d000d8fad455d90e704ba28972
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);