From ac0ae2f1eb582c343aee00095e35779affddba99 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 7 Oct 2020 06:53:14 +0200 Subject: AutoTest: Fix summary part III Amends 479f6c8. Change-Id: I3bd7a789eef8d53610f87ccaafa43c921ff1e23f Reviewed-by: David Schulz --- src/plugins/autotest/testresultmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3