Reset Styled/PlainText specific state when switching between formats.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Tue, 31 Jul 2012 02:54:42 +0000 (12:54 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 31 Jul 2012 03:04:45 +0000 (05:04 +0200)
commitd3fa72e7e061d8ffd0e7aac8ecabdeadb207929f
tree86e388b6df6b1d065a1f2b696b77b2dcee64f24d
parentc9b7582a2e7ad9fcd03dd999c3b7a16b72803238
Reset Styled/PlainText specific state when switching between formats.

Fixes markup being displayed when switching from a multilength string
to styled text and formatting of elided text when switching from
elided styled text to elided plain text.

Change-Id: Id1e1834d81cb6142d92433a8bc571e05d226b7b3
Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
src/quick/items/qquicktext.cpp