diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-05-10 12:01:43 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-05-10 12:01:54 (GMT) |
commit | 0ad6cec5d77fffa5d64b841bd7496088df6fcaab (patch) | |
tree | bd2b603ab9a6bbef8eeca51661e6631db9360691 | |
parent | 965af9eb2932efae5d736df54c3859460017b6a5 (diff) | |
download | Qt-0ad6cec5d77fffa5d64b841bd7496088df6fcaab.zip Qt-0ad6cec5d77fffa5d64b841bd7496088df6fcaab.tar.gz Qt-0ad6cec5d77fffa5d64b841bd7496088df6fcaab.tar.bz2 |
Build fix for tst_qrawfont
Reviewed-by: Eskil
-rw-r--r-- | tests/auto/qrawfont/tst_qrawfont.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |