summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2020-10-07 06:53:14 +0200
committerChristian Stenger <christian.stenger@qt.io>2020-10-07 08:44:55 +0000
commitac0ae2f1eb582c343aee00095e35779affddba99 (patch)
treec7fda0a08090d9f6fea1a8dc1f2b760b133e4e8f
parent33c3fe2c672b1418e2c0d09a3ad5a081f5bd1d0d (diff)
downloadqt-creator-ac0ae2f1eb582c343aee00095e35779affddba99.tar.gz
AutoTest: Fix summary part III
Amends 479f6c8. Change-Id: I3bd7a789eef8d53610f87ccaafa43c921ff1e23f Reviewed-by: David Schulz <david.schulz@qt.io>
-rw-r--r--src/plugins/autotest/testresultmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/autotest/testresultmodel.cpp b/src/plugins/autotest/testresultmodel.cpp
index cd38cfea76..441790a79b 100644
--- a/src/plugins/autotest/testresultmodel.cpp
+++ b/src/plugins/autotest/testresultmodel.cpp
@@ -376,7 +376,7 @@ int TestResultModel::resultTypeCount(ResultType type) const
{
int result = 0;
- for (const auto &id : m_reportedSummary.keys()) {
+ for (const auto &id : m_testResultCount.keys()) {
// if we got a result count from the framework prefer that over our counted results
int reported = m_reportedSummary[id].value(type);
result += reported != 0 ? reported : m_testResultCount.value(id).value(type);