Fix lineHeight test for QQuickText
authorJiang Jiang <jiang.jiang@nokia.com>
Wed, 30 May 2012 07:50:34 +0000 (09:50 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 30 May 2012 11:30:06 +0000 (13:30 +0200)
commit3beebd602b2d6074a745d797de64f04a13093456
tree10ddd98ade78b19738f6485904cebdff54f28ddb
parentddd6afe066377e8c39a7fac5c7e358bacc4cd84f
Fix lineHeight test for QQuickText

qCeil() should be used to wrap the result of height() instead of
the end result after multiply with 1.5.

Change-Id: Ia69d63ad4a9aa9c48365b8c3b994708bbbdab7c5
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
tests/auto/quick/qquicktext/tst_qquicktext.cpp