Fix high CPU load for Qml TextEdit on Mac
authorNils Jeisecke <jeisecke@saltation.de>
Mon, 2 Jul 2012 13:38:24 +0000 (15:38 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 2 Jul 2012 15:13:37 +0000 (17:13 +0200)
commit7572d2881ecf28f282fdd3129973f94ea319ed1a
tree49103c0b897d3e7a2e905f16379c3be322d1a31f
parentfdeee38b781376012c4f086276c3c376726c8839
Fix high CPU load for Qml TextEdit on Mac

This removes a Mac workaround which causes an endless calling loop
(updatePaintNode will call markContentsDirty will call updatePaintNode) for
every TextEdit element. The only reason that
this doesn't block the application is that the signal goes through the
GUI thread's event loop.

Task-number: QTBUG-26361
Change-Id: Ia89cc123959bbfdcbfc5b0707901ac91dec47c40
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
src/quick/items/qquicktextedit.cpp