diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2022-11-20 14:49:04 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2023-01-30 23:52:42 +0200 |
commit | 26f8ea1224e43bef9ba3f121c6d5d8e19a8756fc (patch) | |
tree | fdddf4deaf7e51bd0825118bd2a9bdc1389ac104 /src/gui/doc | |
parent | 482a75fef9643220366029862dbf636a88bccb82 (diff) |
QString: don't detach in replace(QChar, QChar, case)
If the string is shared, instead of detaching, create a new string and
copy the characters from this string, replacing the ones matching "before"
with "after", to the new string.
Change-Id: I2c33690230d40f3121e60e242666460559258b7b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/doc')
0 files changed, 0 insertions, 0 deletions