diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-06-19 17:36:10 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-26 11:57:51 +0200 |
commit | 799f0841a6f22ccaa03f3673ba91ad7b40f20612 (patch) | |
tree | 47ccd347ca2f416c4d3dbde98992e9f5d09997e6 /src/plugins/platforminputcontexts | |
parent | 34cb86d46b5cebed14bbb8c5e4143447025e9094 (diff) |
Make QRegion not need to be friends with QVector
This hack was introduced in Qt 4.5 and the intention was to resize
(hopefully, shrink) the QVector without causing it to reallocate
memory. We can accomplish the same by reserving the size: until we
clear() or squeeze(), the container will not free memory.
Change-Id: I03a09537a617be0ce865eefa043005e4051e8706
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/plugins/platforminputcontexts')
0 files changed, 0 insertions, 0 deletions