Fix one character displacement for cursor in line edits
authorMiikka Heikkinen <miikka.heikkinen@digia.com>
Mon, 17 Jan 2011 13:44:44 +0000 (15:44 +0200)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>
Mon, 17 Jan 2011 13:52:53 +0000 (15:52 +0200)
commit81351f2c6f9a939e4c34cb3be6280d396c21941f
tree7a9572633ad9e1c6546f6ab3df78871b9839b0b7
parent1de7a573c1f407d5126cf6ee1e25b4f92cbdda3c
Fix one character displacement for cursor in line edits

The variable m_inlinePosition was not updated when m_preeditString
was cleared in QCoeFepInputContext. This resulted in cursor displaying
up one character beyond where it logically should have been when
using HW Qwerty keyboard on E7 and similar devices.

Task-number: QTBUG-16238
Reviewed-by: axis
src/gui/inputmethod/qcoefepinputcontext_s60.cpp