Commit 9367ad36 authored by Thomas Hartmann's avatar Thomas Hartmann

Allow multiple '.' for a suffix in MimeTypeData

(e.g. ".ui.qml")

Change-Id: I476585649f02651eeb99564417ec46de6346c67d
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 4579b7c5
......@@ -584,7 +584,7 @@ public:
MimeTypeData::MimeTypeData()
// RE to match a suffix glob pattern: "*.ext" (and not sth like "Makefile" or
// "*.log[1-9]"
: suffixPattern(QLatin1String("^\\*\\.[\\w+]+$"))
: suffixPattern(QLatin1String("^\\*(?:\\.[\\w+]+)+$"))
{
QTC_CHECK(suffixPattern.isValid());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment