QString: use '\0' instead of 0

Matches other places in the code.

Change-Id: I5ede3a52875235cc6355f651b7205b7c5ed46d90
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Ahmad Samir 2022-10-21 16:47:45 +02:00
parent 449b45ff34
commit 1e387cf800
1 changed files with 1 additions and 1 deletions

View File

@ -2703,7 +2703,7 @@ void QString::resize(qsizetype size)
reallocData(size, QArrayData::Grow);
d.size = size;
if (d->allocatedCapacity())
d.data()[size] = 0;
d.data()[size] = u'\0';
}
/*!