Respond appropriately to textFormat changed
authorAlan Alpert <aalpert@blackberry.com>
Thu, 16 May 2013 21:32:05 +0000 (14:32 -0700)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 17 May 2013 18:29:23 +0000 (20:29 +0200)
commit4931f4078d7113bab73ca4ae1d9cedaa0e8712a6
tree88595ed8280d9beb25ab708e5d8186dc3a6c5a57
parent6e32c7311b1690d36023caa688823944551a697c
Respond appropriately to textFormat changed

If the text has not changed when textFormat changes between states other
than RichText, the text was not re-laid-out. This is necessary if the
text includes control tags.

Task-number: QTBUG-31191
Change-Id: I3c6f5343aa85e8337b90cf86748a696d5742e906
Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>
src/quick/items/qquicktext.cpp