diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2021-08-31 17:17:33 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-09-07 21:09:49 +0200 |
commit | 0108275b0c6a38ac73014c8e135b9be9fe75c8b2 (patch) | |
tree | 170ba0918e4c765a1bb001d9b9e0bff424e66216 /src/corelib/kernel/qobject.h | |
parent | 121fddcf5ae2ab238ef802e44b45ce62c56015f5 (diff) |
Unix fallbackLocale(): use QString::tokenize() rather than split()
We only want the first entry, so avoid all the allocations of
split()ing and just look at the first.
Change-Id: I81beee1856608c932254213f2971fc37bc457c41
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/kernel/qobject.h')
0 files changed, 0 insertions, 0 deletions