Merge remote-tracking branch 'origin/4.13' into 4.14

Change-Id: Ia20a937786be651a5fe9daefb856f7779905ef68
This commit is contained in:
Eike Ziller
2020-10-08 09:46:09 +02:00
18 changed files with 128 additions and 151 deletions

View File

@@ -395,7 +395,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);