adjust QMimeDatabase implementation
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Mon, 13 Nov 2023 08:21:47 +0000 (11:21 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Mon, 13 Nov 2023 08:21:47 +0000 (11:21 +0300)
commitb932cdf9075a74e4dcbf115174bf0ebf5537f428
treee899f10efd4df84ca2d989432feffc3e30af9d70
parent84dfe906d1f5f212ef6f496cc6a8c1bca22c0275
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