diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2025-04-26 15:12:06 +0300 |
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2025-05-24 01:12:55 +0300 |
| commit | d4960f380e718bbc3df3fe33c68ba8c693394892 (patch) | |
| tree | 246771b69859d50237be8f0bb8733a09becb5830 /src/plugins/platforms/android/qandroidassetsfileenginehandler.cpp | |
| parent | 0b8f0123e01d995e77a1d9c000b488d75041e7bc (diff) | |
qdataurl: use QLatin1StringView instead of QByteArrayView
This is URL data and we use toLatin1() to convert from QString to
QByteArray. QL1SV is more suitable here because we need to do
case-insensitive look ups into the <mediatype> (see
https://www.rfc-editor.org/rfc/rfc2397.html) part of the URL.
Drive by, use QL1SV::sliced() instead of mid(), the precondition has
already been checked.
Change-Id: I670c41fdb6728f6420b1a4e2046357013ea210e0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/android/qandroidassetsfileenginehandler.cpp')
0 files changed, 0 insertions, 0 deletions
