summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@nokia.com>2010-10-28 15:12:54 +0200
committerYoann Lopes <yoann.lopes@nokia.com>2010-10-28 15:12:54 +0200
commit5811748710773e84b4b7914d4b4be3c9ba94447b (patch)
tree14195847032370b9561e267e97a691382f5fa92b
parent731928d2f7bbf13da761e2daad8e1effb8403767 (diff)
Fixes test not appearing in the correct color when having a warning.
-rw-r--r--src/testview.cpp2
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("");