adjust QMimeDatabase implementation
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Tue, 24 Aug 2021 13:28:22 +0000 (14:28 +0100)
committerRaspbian forward porter <root@raspbian.org>
Tue, 24 Aug 2021 13:28:22 +0000 (14:28 +0100)
commit9d2d9c8da4e8636905b95428778acc49fcd63c2a
treed5fc84a0f2257011329d206fb1338cf372ca9aec
parentfbb1e6a92fa5738ae5ad456576c32732c5c56cad
adjust QMimeDatabase implementation

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=0cbbba2aa5b47224
Last-Update: 2021-06-12

When multiple globs match, and the result from magic sniffing is
unrelated to any of those globs, globs have priority and one of them
should be picked up.

Gbp-Pq: Name mime_globs.diff
src/corelib/mimetypes/qmimedatabase.cpp
src/corelib/mimetypes/qmimeglobpattern.cpp