summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2021-11-10 11:30:30 +0100
committerMarc Mutz <marc.mutz@qt.io>2021-11-15 23:37:31 +0100
commit98bb6d23a106dd15d952773f833de576bac06a7c (patch)
tree5adda3854ac3537c0b69dc275298b452302b5d0a /src/corelib/thread
parent1ea1e0d7f3c1c600b024e4862e69208d2f3232c7 (diff)
QString: prefer sliced() over mid() in split-like functions
These algorithms never call mid() with funky values, so they don't need the mid() side-cases, and associated 7-branch deep conditionals. Just use sliced(). Change-Id: I05b6a0e47da90f09b34a92211f7e783a2db709f7 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/thread')
0 files changed, 0 insertions, 0 deletions