diff options
author | Mate Barany <mate.barany@qt.io> | 2022-09-19 17:36:10 +0200 |
---|---|---|
committer | Mate Barany <mate.barany@qt.io> | 2022-09-27 20:38:13 +0200 |
commit | 9d6d836871bc12d71683993efbe3da7444100f4c (patch) | |
tree | 382c486b8dc22961034317e0868cf25ae79a18e8 /src/corelib/kernel | |
parent | df0b70eece519b1c78353588ba92ef39d873aa1f (diff) |
QtWidgets: Use the default constructor of QString and append
Addressing a comment from the review of QTBUG-98434: instead of the
QL1S constructor use the default constructor and append "Path: "_L1.
With the QL1S constructor capacity == size == rhs.capacity and the
very next append is guaranteed to reallocate. In the other case the
capacity will grow according to the growth strategy.
Task-number: QTBUG-103100
Change-Id: Ifcc1c22a59739c6384b363471dbb27d6a978e306
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/corelib/kernel')
0 files changed, 0 insertions, 0 deletions