QMimeDatabase re-adds/prepends the "main" glob pattern (the first one
in the system-wide xml file) to the glob patterns list, even if the user
has previously removed it e.g. via the filetypes kcm, as a result of that:
- Don't change the sort order of m_patterns. It seems the list returned by QMimeType::globPatterns() is "ordered". Also no need to sort() the patterns list in the unit test or in MimeTypeData::isMimeTypeDirty()
- Disable the "Remove" button for the first entry in the glob patterns list view
Fix filetypetest (unit test), use "*.inf" instead of "*.txt", the latter
was always re-added by QMimeDatabase, which made the test fail.