Use the same style for inconclusive errors as in CLI when writing txt reports.

This commit is contained in:
PKEuS 2012-10-14 16:28:34 +02:00
parent 8c9748063b
commit d152ec31f1
1 changed files with 5 additions and 3 deletions

View File

@ -69,11 +69,13 @@ void TxtReport::WriteError(const ErrorItem &error)
line += ": ";
}
}
line += QString("(%1) ").arg(GuiSeverity::toString(error.severity));
QString temp = "(%1";
if (error.inconclusive) {
line += tr("inconclusive");
line += " ";
temp += ", ";
temp += tr("inconclusive");
}
temp += ") ";
line += temp.arg(GuiSeverity::toString(error.severity));
line += error.summary;
mTxtWriter << line << endl;