summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-05-16 14:08:18 +0200
committerMarc Mutz <marc.mutz@qt.io>2022-05-16 23:30:36 +0200
commit18a16533b9c8782c5ff642a37dd58f82c1eb881d (patch)
treee1a280b2e05457c79c53e88cb1ac52738aca0745 /tests
parent68f220c93b3e831a3f9b8cee0df6bd2ec69f7a11 (diff)
QString: don't use utf16() just to create a u16string
QString::utf16() will detach from QStringLiterals in order to ensure NUL-termination, we don't need the returned pointer NUL-terminated, because we pass the length explicitly to the u16string ctor, so just use data(). Task-number: QTBUG-98763 Pick-to: 6.3 Change-Id: If883901a41480f469162ff4ed5bef927a3bf060a Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions