Commit eca445fd authored by Andrew den Exter's avatar Andrew den Exter Committed by Qt by Nokia
Browse files

Avoid creating unnecessary copies of TextEdit's text data.


Delay rebuilding the text data from QTextDocument until it is actually
requested rather than everytime the contents of the document change.

Change-Id: Ibfdc9e9e0372010f0731fb02a223c8b59a67f2c3
Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
parent 5290b043
No related merge requests found
Showing with 29 additions and 24 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment