Use the same style for inconclusive errors as in CLI when writing txt reports.
This commit is contained in:
parent
8c9748063b
commit
d152ec31f1
|
@ -69,11 +69,13 @@ void TxtReport::WriteError(const ErrorItem &error)
|
||||||
line += ": ";
|
line += ": ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
line += QString("(%1) ").arg(GuiSeverity::toString(error.severity));
|
QString temp = "(%1";
|
||||||
if (error.inconclusive) {
|
if (error.inconclusive) {
|
||||||
line += tr("inconclusive");
|
temp += ", ";
|
||||||
line += " ";
|
temp += tr("inconclusive");
|
||||||
}
|
}
|
||||||
|
temp += ") ";
|
||||||
|
line += temp.arg(GuiSeverity::toString(error.severity));
|
||||||
line += error.summary;
|
line += error.summary;
|
||||||
|
|
||||||
mTxtWriter << line << endl;
|
mTxtWriter << line << endl;
|
||||||
|
|
Loading…
Reference in New Issue