qsvgdocument: Don't access null animator


When creating a QSvgRenderer with AnimationDisabled option,
no animator will be created, and it will crash when loading
the SVG.

Pick-to: 6.11
Change-Id: Ifc276c7d73615f7b6ab2530dae0813ac7948c171
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commit2f5d569538739e45598aa6873b794a45d834af57
parentb6ecc52fc0b19e11f68db3c05a2e71e1b848825b
authorKai Uwe Broulik <kai.uwe.broulik@basyskom.com>
committerKai Uwe Broulik <kai.uwe.broulik@basyskom.com>
commit timeFri, 27 Mar 2026 12:04:09 +0000