summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-10-12 22:47:13 +0200
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2016-01-06 13:07:31 +0000
commit50ab7c16d470dbb0984bc2b48c5f49d94106edd0 (patch)
treeff49f785c3ac46e89f9eccf81c83274289c473a2 /src/corelib/io
parent81ee6e763efc4cb7cac12a9f91578776e9b05a3c (diff)
QString: prevent resize() from shedding capacity
...even if reserve() hasn't been called before. [ChangeLog][QtCore][QString] resize() will no longer shrink the capacity. That means resize(0) now reliably preserves capacity(). Change-Id: If499a20990bbf3a20553da14e50a42918d310c9f Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/corelib/io')
0 files changed, 0 insertions, 0 deletions