diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2015-11-04 13:11:23 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2015-11-19 11:30:43 +0000 |
| commit | bbe65832f57709ac14bccfe0d5d06723f1397d1d (patch) | |
| tree | 99bb9bd4eeb19a34a7045d77c647370784c13818 /examples/widgets/graphicsview/chip/mainwindow.cpp | |
| parent | db9a0befca2415574e3bef8a0e07cf3fef62361c (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
