Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix tst_qquicktext autotest
Task-number: QTBUG-21009
Change-Id: I3dea72318b7b6040ddd906a6e870389754d4d750
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
  • Loading branch information
Yann Bodson authored and Qt by Nokia committed Nov 18, 2011
1 parent b811bd2 commit e206493
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/auto/declarative/qquicktext/tst_qquicktext.cpp
Expand Up @@ -1334,8 +1334,7 @@ void tst_qquicktext::lineHeight()

qreal h = myText->height();
myText->setLineHeight(1.5);
QEXPECT_FAIL("", "QTBUG-21009 fails", Continue);
QVERIFY(myText->height() == h * 1.5);
QVERIFY(myText->height() == qCeil(h * 1.5));

myText->setLineHeightMode(QQuickText::FixedHeight);
myText->setLineHeight(20);
Expand Down

0 comments on commit e206493

Please sign in to comment.