From d152ec31f1908c2a02c72660dff13b0708f41d4c Mon Sep 17 00:00:00 2001 From: PKEuS Date: Sun, 14 Oct 2012 16:28:34 +0200 Subject: [PATCH] Use the same style for inconclusive errors as in CLI when writing txt reports. --- gui/txtreport.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gui/txtreport.cpp b/gui/txtreport.cpp index f3df77aa4..b6d34b5ff 100644 --- a/gui/txtreport.cpp +++ b/gui/txtreport.cpp @@ -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;