summaryrefslogtreecommitdiffstats
path: root/examples/widgets/graphicsview/chip/mainwindow.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-11-04 13:11:23 +0100
committerMarc Mutz <marc.mutz@kdab.com>2015-11-19 11:30:43 +0000
commitbbe65832f57709ac14bccfe0d5d06723f1397d1d (patch)
tree99bb9bd4eeb19a34a7045d77c647370784c13818 /examples/widgets/graphicsview/chip/mainwindow.cpp
parentdb9a0befca2415574e3bef8a0e07cf3fef62361c (diff)
QString::vasprintf: avoid allocating memory for format text copied verbatim
... by using the new QUtf8::convertToUnicode() function in conjunction with QString::resize(). For this to be a clear optimization, resize() must be banned from shrinking capacity, which another patch will implement. Change-Id: I6394af95ef1aaae131e23a4227734eb76fa685cd Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'examples/widgets/graphicsview/chip/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions