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>
This commit is contained in:
Christian Stenger
2019-01-31 15:45:28 +01:00
parent ac382b68b7
commit d886285ff0

View File

@@ -141,7 +141,7 @@ void TestResultItem::updateResult(bool &changed, Result::Type addedChildType)
? Result::MessageTestCaseSuccess : old;
break;
default:
return;
break;
}
changed = old != newResult;
if (changed)