Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
467c13e1
Commit
467c13e1
authored
Feb 16, 2011
by
Leandro Melo
Browse files
MIME: A magic may have many match elements
Reviewed-by: Friedemann Kleint
parent
7741db12
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/mimedatabase.cpp
View file @
467c13e1
...
...
@@ -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
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment