Avoid crash when visiting empty QLottieGroup


If the group has no children, we should just exit rather
than try to get a pointer to the first one.

Pick-to: 6.11 6.12
Change-Id: Idde3da50160e8006056c83e07459a7ac15c4cb00
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
commit11215cd8aef205d9aa619e53e96a77096b50a724
parent6b15bfc93506dd13e26e78ffef87d80a9e70493b
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit timeWed, 12 Aug 2026 15:36:40 +0000