summaryrefslogtreecommitdiffstats
path: root/src/multimedia
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-08-03 13:49:20 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-01-14 12:48:17 (GMT)
commite459416e357c86f32146de4e7dce220153a132b2 (patch)
tree381b855ea401ff3f288bebcd43a94b5cbb595548 /src/multimedia
parent30245b9fcfadaa7b400993aff05f8d1a54bea8d8 (diff)
downloadQt-e459416e357c86f32146de4e7dce220153a132b2.zip
Qt-e459416e357c86f32146de4e7dce220153a132b2.tar.gz
Qt-e459416e357c86f32146de4e7dce220153a132b2.tar.bz2
Optimize QStaticText for one line strings
QTextLayout takes a lot of memory. We can get a bigger speed-up and a more reasonable memory consumption by only supporting the single line static texts and caching the text items. We need to copy some structs from the text engine, since this is on the stack.
Diffstat (limited to 'src/multimedia')
0 files changed, 0 insertions, 0 deletions