diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2012-07-05 12:40:13 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-09 09:05:37 +0200 |
commit | e1d6b323d474acc5cd70fd9a0b283326316f55a0 (patch) | |
tree | b2a47a61f5935d47ca903307c7bf24b9edb38d75 /tests/auto/quick/qquickfocusscope | |
parent | 4598939ee2fad1238609ca43717199fd4e98c75f (diff) |
Speed up Text construction with RichText
Setting the page size to empty can short cut some unnecessary layouts
triggered by QTextDocument/QTextDocumentLayout prior to the Text item
requiring a layout.
This rougly halves the construction time a Text item with RichText.
Task-number: QTBUG-19728
Change-Id: I03e6d293d8e5ac40046aef41171ca5009b718546
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests/auto/quick/qquickfocusscope')
0 files changed, 0 insertions, 0 deletions