summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/android/qandroidassetsfileenginehandler.cpp
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2025-04-26 15:12:06 +0300
committerAhmad Samir <a.samirh78@gmail.com>2025-05-24 01:12:55 +0300
commitd4960f380e718bbc3df3fe33c68ba8c693394892 (patch)
tree246771b69859d50237be8f0bb8733a09becb5830 /src/plugins/platforms/android/qandroidassetsfileenginehandler.cpp
parent0b8f0123e01d995e77a1d9c000b488d75041e7bc (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