diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-12-23 22:22:27 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-12-29 10:58:44 +0000 |
commit | c6177dcccf73427b75b1f1efe80317b7f4fdddc9 (patch) | |
tree | 279b7da27682e72ada858c8d8d44d99ed13b8dbd /src/corelib/tools/qtimezoneprivate_tz.cpp | |
parent | e979f8721731bc5f4cd0d65830548f9e70da2da5 (diff) |
QMimeDatabase: return a sorted list from d->mimeTypesForFileName()
All but one of the callers sorted the list in at least one
code path, with code paths that use the list unsorted looking
suspiciously non-deterministic. The one caller that doesn't
sort the list doesn't use it at all (but uses the out parameter,
which none of the other callers do, suggesting that the function
be split into two at some point).
Change-Id: I178c1476919e4877ef4f4a3cc8934dbd04bd7a58
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/corelib/tools/qtimezoneprivate_tz.cpp')
0 files changed, 0 insertions, 0 deletions