forked from qt-creator/qt-creator
Add possibility to fetch rule details for issues
Allows to fetch further information of an issue and display it inside the output pane. Change-Id: I94ec27b9c060dca9f9523d763b8628a2fce7ca59 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -333,6 +333,15 @@ IssuesList parseIssuesList(const QByteArray &input)
|
||||
return result;
|
||||
}
|
||||
|
||||
QString parseRuleInfo(const QByteArray &input) // html result!
|
||||
{
|
||||
auto [header, body] = splitHeaderAndBody(input);
|
||||
BaseResult headerResult = prehandleHeader(header, body);
|
||||
if (!headerResult.error.isEmpty())
|
||||
return QString();
|
||||
return QString::fromLocal8Bit(body);
|
||||
}
|
||||
|
||||
} // ResultParser
|
||||
|
||||
} // Axivion::Internal
|
||||
|
||||
Reference in New Issue
Block a user