Fix rounding error in QInputMethod::cursorRectangle().
authorAndrew den Exter <andrew.den-exter@nokia.com>
Thu, 23 Feb 2012 05:02:23 +0000 (15:02 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 23 Feb 2012 08:33:27 +0000 (09:33 +0100)
commitef9a86db5615a438c72a78745a8e558e687bf829
treea52133b6e979886307486f357b9ab32474e770cb
parent1501f1ddd499320c264dc3ab16d4ce8b408991bb
Fix rounding error in QInputMethod::cursorRectangle().

Use QRectF consistently to avoid the rounding done in the conversion
to QRect.

Task-number: QTBUG-24463
Change-Id: If9ea858ebabf8c449ea058b9d379d4a57cb6c82d
Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
src/gui/kernel/qinputmethod.cpp
tests/auto/gui/kernel/qinputmethod/tst_qinputmethod.cpp