summaryrefslogtreecommitdiffstats
path: root/src/animation/frontend/qanimationgroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/animation/frontend/qanimationgroup.cpp')
-rw-r--r--src/animation/frontend/qanimationgroup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animation/frontend/qanimationgroup.cpp b/src/animation/frontend/qanimationgroup.cpp
index 07d0fadc5..365745662 100644
--- a/src/animation/frontend/qanimationgroup.cpp
+++ b/src/animation/frontend/qanimationgroup.cpp
@@ -109,7 +109,7 @@ QAnimationGroupPrivate::QAnimationGroupPrivate()
void QAnimationGroupPrivate::updatePosition(float position)
{
m_position = position;
- for (QAbstractAnimation *aa : m_animations)
+ for (QAbstractAnimation *aa : qAsConst(m_animations))
aa->setPosition(position);
}