-
Erik Verbruggen authored
When the check would fail, it would result in a nullptr deref 3 lines down. As this is a constructor, doing a QTC_ASSERT(..., return) would leave the object partially initialized, with some fields containing random garbage. Change-Id: I823d52d43d90eaf06cb7d7cd64fbee17e5fc889e Reviewed-by: Daniel Teske <daniel.teske@digia.com>
4f4b1257