mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
remove incorrect QString::grow() call from QString::resize()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
ee372c76ce
commit
53b54fc8a6
1 changed files with 1 additions and 1 deletions
|
@ -1063,7 +1063,7 @@ void QString::resize(int size)
|
|||
d = x;
|
||||
} else {
|
||||
if (d->ref != 1 || size != d->capacity)
|
||||
reallocData(grow(size));
|
||||
reallocData(size);
|
||||
if (d->capacity >= size) {
|
||||
d->size = size;
|
||||
if (d->data == d->array) {
|
||||
|
|
Loading…
Add table
Reference in a new issue