Commit 467c13e1 authored by Leandro Melo's avatar Leandro Melo
Browse files

MIME: A magic may have many match elements

Reviewed-by: Friedemann Kleint
parent 7741db12
......@@ -744,6 +744,8 @@ BaseMimeTypeParser::ParseStage BaseMimeTypeParser::nextStage(ParseStage currentS
return ParseAlias;
if (startElement == QLatin1String(magicTagC))
return ParseMagic;
if (startElement == QLatin1String(matchTagC))
return ParseMagicMatchRule;
return ParseOtherMimeTypeSubTag;
case ParseMagic:
if (startElement == QLatin1String(matchTagC))
Supports Markdown
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