summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/q20functional.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2021-08-12 12:09:36 +0200
committerMarc Mutz <marc.mutz@kdab.com>2021-08-16 19:26:29 +0200
commit8948f5cc78e4151e04395375269b9efbf9a3bac7 (patch)
treee25ee39d2f868a58daa5c73419b3b29f2885d616 /src/corelib/global/q20functional.h
parentdd3c4b66a1d789a468482390f56bceb22b874d2b (diff)
QStandardPaths/Unix: use QStringTokenizer
Avoids having to allocate storage to hold the parts. Since the startsWith('/') will fail for empty parts, remove the SkipEmptyParts so we don't check for emptiness twice. Change-Id: Id33a52d5fbd29f7a9d4ead758729195bb201a369 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/q20functional.h')
0 files changed, 0 insertions, 0 deletions