forked from qt-creator/qt-creator
ClangTools: Do not spam the warning pane with long messages
The user does not usually need the whole command line. Task-number: QTCREATORBUG-20707 Change-Id: I30cd395cd85eb0a3dd19b9d5f1b34a1c7a4b95a5 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -263,7 +263,7 @@ static QVariant iconData(const QString &type)
|
||||
{
|
||||
if (type == "warning")
|
||||
return Utils::Icons::CODEMODEL_WARNING.icon();
|
||||
if (type == "error")
|
||||
if (type == "error" || type == "fatal")
|
||||
return Utils::Icons::CODEMODEL_ERROR.icon();
|
||||
if (type == "note")
|
||||
return Utils::Icons::BOOKMARK.icon();
|
||||
|
||||
Reference in New Issue
Block a user