aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4arraydata.cpp
diff options
context:
space:
mode:
authorOlivier De Cannière <olivier.decanniere@qt.io>2023-07-19 11:33:02 +0200
committerOlivier De Cannière <olivier.decanniere@qt.io>2023-07-25 14:33:15 +0200
commit07ca60dcc557dfd548e99b127ca27ccd7cee75ef (patch)
treecd298cf997e1259920892f8889445214451f82a7 /src/qml/jsruntime/qv4arraydata.cpp
parente97f1631c1983915cbf4a14ec6813d2fc0aafc67 (diff)
QQuickAnimation: Check animationInstance for null in animationGroupDirty
On this line group->currentTime() defaults to 0 if animationInstance of group is null. This happens to be the value the condition is checking for and leads to a failed Q_ASSERT(animationInstance) in animGroupPriv->restartFromCurrentLoop(). Add a check for nullptr to cover this case. Amends 0e69268b49f6eed71a7a3e6f16bb5098b572ef2b Task-number: QTBUG-68404 Pick-to: 6.5 6.6 Change-Id: I12236be3b42fc6bd2d185943f9e0474655d8a4c9 Reviewed-by: Sami Shalayel <sami.shalayel@qt.io> Reviewed-by: Inho Lee <inho.lee@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/qml/jsruntime/qv4arraydata.cpp')
0 files changed, 0 insertions, 0 deletions