diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2021-05-28 17:47:04 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2021-06-01 20:21:49 +0200 |
commit | c2c4266c8c976ffdb53e7fa27836c3249edac878 (patch) | |
tree | 5f545d402f607c9e41342dfe8daf08c697ba4457 /libexec | |
parent | bc80067266625db3ce05564e27ffcedfc0092ca3 (diff) |
SQLite plugin: use QString::unicode(), not utf16()
utf16() reallocates a QString if it was created from raw data, in order
to ensure NUL termination. But here we don't need NUL termination
anyways because we also pass the string size, so just use unicode()
instead.
Change-Id: I4a01ab9f4e53b94b80d3d00272cb0f0e35e30959
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions