Commit 2bcd2d4d authored by Eike Ziller's avatar Eike Ziller

EditorManager: Remove wrong warning

The mime type hierarchy is not a tree (e.g. diamond shape inheritence is
ok), so if we traverse a parent hierarchy and encounter a mime type
twice, that is not an indicator for an actual loop / wrong hierarchy.

Change-Id: Ic116deac5a03b9692e2267252598db6d8721f39e
Reviewed-by: default avatarDavid Schulz <david.schulz@theqtcompany.com>
parent be1e793c
......@@ -2543,8 +2543,6 @@ static void mimeTypeFactoryLookup(const Utils::MimeType &mimeType,
seen.insert(parent.name());
if (seen.size() != seenSize) // not seen before, so add
queue.append(parent);
else
qWarning("MimeTypes: Parent hierarchy loop detected for '%s'!", qPrintable(parent.name()));
}
}
}
......
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