Fix TextInput test failures.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Mon, 5 Sep 2011 07:42:08 +0000 (17:42 +1000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 23 Jan 2013 11:26:45 +0000 (12:26 +0100)
commitd3e0355c56f39d33e0fdedc5ef12ab9ba4c7202e
tree7902f9699b23a950135662c37cd39463fd4c050b
parent4e41d42c17e2aab6e6a8ebedc9595d9b0854c9e5
Fix TextInput test failures.

emitCursorPositionChanged won't emit cursorPositionChanged if the
cursor position hasn't changed but that doesn't mean the micro focus
hasn't changed, so emit updateMicroFocus changed when
cursorPositionChanged isn't.

Task-number: QTBUG-21017
Task-number: QTBUG-21011
Task-number: QTBUG-20719
Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
(cherry picked from commit 6e0e834e0398192a6da11d1e1bca6b74769fb75d)

Change-Id: Ia0d244eea051f2a870a084742c4c22f5a45a87bc
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
src/gui/widgets/qlinecontrol.cpp
tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp