aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2019-01-31 15:45:28 +0100
committerChristian Stenger <christian.stenger@qt.io>2019-02-01 07:16:41 +0000
commitd886285ff0f9931b39a6069bc5260cf2148757eb (patch)
tree578db59be3929d26706fda2cddcf495a8096c221
parentac382b68b7c67af45096cb590fc537b5794e8f27 (diff)
AutoTest: Fix handling of empty tests
If an item of type MessageCaseStart is going to be updated it might end up in still getting no icon if none of its children is enforcing a change. Change-Id: I7ec6d114c547189a02744f064d4c04cdf31a03d7 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 a694ba8c22..cbd9d5db9a 100644
--- a/src/plugins/autotest/testresultmodel.cpp
+++ b/src/plugins/autotest/testresultmodel.cpp
@@ -141,7 +141,7 @@ void TestResultItem::updateResult(bool &changed, Result::Type addedChildType)
? Result::MessageTestCaseSuccess : old;
break;
default:
- return;
+ break;
}
changed = old != newResult;
if (changed)