diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2017-02-28 12:03:46 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2017-03-09 19:27:06 +0000 |
commit | 326f1fdb7d6550a529217b226cbef78425d32969 (patch) | |
tree | c4e4409a5c77591e1228eb97159d0e413a75316a /src/corelib/arch | |
parent | 65bafcc29d3f41f88f6fe0fd876be4c6ac118cd4 (diff) |
Simplify QDateTimeParser's shiny new findTextEntry()
Decouple from the callers' offset into a larger list; just search for
an entry in a list, let the caller deal with the offset. Also, defer
a .tolower() to save the need to allocate a copy of each list entry.
Change-Id: I748d5214c2cc6dc592fe2bd41e3f8150f71c335b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/arch')
0 files changed, 0 insertions, 0 deletions