qt5base-lts/tests/auto/corelib
David Faure 7721c3d27c QMimeDatabase: Fix handling of duplicate mimetype definitions.
When both freedesktop.org.xml and kde.xml define text/x-qml (*.qml),
the XML provider would look up *.qml, see two mimetypes, and treat that
as a glob conflict, and proceed with contents-based-determination,
which for this sample file, would find "C source" due to the C comment.

Fixed by ignoring duplicate pattern-mimetype associations.

The binary-cache provider doesn't have this problem, update-mime-database
already filters out duplicates when generating the on-disk extension tree.

Change-Id: Ie335b0b419e7413fa0550779709513f68c2bfc68
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-11-14 14:18:31 +01:00
..
animation Fix zero-duration animations running Backwards. 2012-11-13 15:34:56 +01:00
codecs Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
global QFlags: use unsigned int when the enum's underlying is unsigned 2012-09-28 23:50:10 +02:00
io fix error handling bug in QWindowsPipeReader 2012-11-02 12:16:49 +01:00
itemmodels Add implementations of QAIM::sibling in public APIs. 2012-11-02 16:25:02 +01:00
json test: Rename test case name TestQtJson -> tst_QtJson 2012-10-24 01:39:02 +02:00
kernel Fix a warning on compilers not supporting constexpr. 2012-11-11 12:10:49 +01:00
mimetypes QMimeDatabase: Fix handling of duplicate mimetype definitions. 2012-11-14 14:18:31 +01:00
plugin Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
statemachine normalise signal/slot signatures [QtCore tests] 2012-10-22 03:21:01 +02:00
thread Fix for leak in QFuture 2012-11-01 16:09:29 +01:00
tools test: fix tst_QLocale::macDefaultLocale 2012-11-09 08:25:51 +01:00
xml Remove duplicate words and punctuation from documentation. 2012-09-26 04:03:20 +02:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00