Make QLineEdit unit test pass again
authorPekka Vuorela <pekka.ta.vuorela@nokia.com>
Wed, 5 Oct 2011 11:39:57 +0000 (14:39 +0300)
committerQt by Nokia <qt-info@nokia.com>
Thu, 6 Oct 2011 12:37:36 +0000 (14:37 +0200)
commit1189ebff320b8dd03637947c92df6e3ef84a3c06
tree21999ef560c63874d18f233142503b1deb64a9b0
parentbb1f50b7b11fddec27efc4a436f64147f746f93e
Make QLineEdit unit test pass again

Widget failed to update cursor position if selection remained the same, but
changed direction, and did not emit selectionChanged if change resulted
from input method event.

Change-Id: I6a4ae48d41efa5e126980749f89982f92e3ec499
Reviewed-on: http://codereview.qt-project.org/6131
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/widgets/widgets/qwidgetlinecontrol.cpp