Fix cursor disappearance in QLineEdit on Mac when deleting all text
authorPasi Matilainen <pasi.matilainen@digia.com>
Tue, 17 Jan 2012 11:08:42 +0000 (13:08 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 20 Jan 2012 13:22:03 +0000 (14:22 +0100)
commit2c8a0a90bee274d36aa2c4c6ad112b8a634100a7
tree9165176ed3c224a0edbc432508758ea1a72e188f
parent06abf7934b4491f36d9542c024d031d27378b423
Fix cursor disappearance in QLineEdit on Mac when deleting all text

On Mac OS X, if all text in the QLineEdit was selected and then deleted, cursor
visibility was not updated, and so the cursor remained hidden. Fixed
to update cursor visibility also when the text is empty.

Task-number: QTBUG-13169
Change-Id: Id52a20b07bb96609a78c42eb630ee2b20ed7cbcb
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
(cherry picked from commit 181456d0a31b7250da97eafba75e6bc657391777)
src/widgets/widgets/qlineedit_p.cpp