Ensure the TextEdit cursor delegate is repositioned on mouse events.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Mon, 9 May 2011 03:57:34 +0000 (13:57 +1000)
committerQt Continuous Integration System <qt-info@nokia.com>
Wed, 1 Jun 2011 06:04:58 +0000 (08:04 +0200)
commit16bd22b1bce3add1827d6cfa47d2641e5d4c2d71
treed4317a75c0caded1105572845effa9482a1b7934
parent3c7793acc0a5688e17ce2860c70fed7eae8690bb
Ensure the TextEdit cursor delegate is repositioned on mouse events.

Update the micro focus when a mouse press changes the cursor position
of a read only TextEdit.

Change-Id: I11855037f7938b2cd23ac6ad165722b5289b4f46
Task-number: QTBUG-19109
Reviewed-by: Martin Jones
Reviewed-on: http://codereview.qt.nokia.com/291
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
src/gui/text/qtextcontrol.cpp