Fix uses of qRound on non-floating-point types.
authorThiago Macieira <thiago@kde.org>
Tue, 12 Jul 2011 15:08:35 +0000 (17:08 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 12 Jul 2011 17:59:36 +0000 (19:59 +0200)
commita8fd5b9d2afea4e8eba271fb658668f15dfb09d7
treeed4c5b44c97a54e0753b43be0892fca2b77c5e37
parent1bedbb3706e9b0427c019d5dedbefd3984517f33
Fix uses of qRound on non-floating-point types.

It's silly to round integeres, since they are already round. At most,
this would waste CPU cycles without any benefit.

Change-Id: I6fc0152f4416d723b65966e5d48cc7a07957b83c
Merge-request: 17
Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
Reviewed-on: http://codereview.qt.nokia.com/1541
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
src/gui/text/qfontengine_ft.cpp