Defer GUI thread calls in the Lottie animation builder when needed
When the item generator is running in async mode, we need to defer
certain calls until after the worker thread finishes and the item tree
is returned to the main thread. This uses the API introduced for this,
which defers the call if we are in async mode and calls it directly if
not.
Task-number: QTBUG-147710
Change-Id: Ia6e9d5d6a6a762f0ae9066a8684cd224f7bbfcfc
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
| commit | 975d4c2e2051711c478eb807b63b1a201d7c3596 |
| parent | b9c9d904123b8a0e662a5bdbd391533632af784d |
| author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> |
| committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> |
| commit time | Thu, 22 Oct 2026 17:40:00 +0000 |