diff options
-rw-r--r-- | src/testview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testview.cpp b/src/testview.cpp index 3f60869..b4ff608 100644 --- a/src/testview.cpp +++ b/src/testview.cpp @@ -155,7 +155,7 @@ void TestView::onTestStatusChanged(Test::TestStatus status) int failCount = t->result().failures.count(); int warnCount = 0; foreach (const TestIncident &incident, t->result().messages) { - if (incident.type == "qwarning") + if (incident.type == "qwarn") warnCount++; } nbFail->setPlainText(""); |