Skip to content

Draft: Replace QStringLiteral use by QLatin1String when possible

Méven Car requested to merge work/meven/kio-qlatin1string into master

This reduces slightly binary size.

  • find . -type f -print0 | xargs -0 sed -i 's/QStringLiteral/QLatin1String/g'
  • Then use QStringLiteral wherever it was needed
  • Then git clang-format

Will add to .git-blame-ignore-revs

Inspired by @vkrause https://www.volkerkrause.eu/2023/09/09/qt-string-bloat.html ;)

Needs: kconfig!215 (closed)

Edited by Méven Car

Merge request reports

Loading