summaryrefslogtreecommitdiffstats
path: root/examples/animation/easing/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/animation/easing/window.cpp')
-rw-r--r--examples/animation/easing/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/animation/easing/window.cpp b/examples/animation/easing/window.cpp
index c6ea360..bb45770 100644
--- a/examples/animation/easing/window.cpp
+++ b/examples/animation/easing/window.cpp
@@ -88,7 +88,7 @@ void Window::startAnimation()
m_anim->setStartValue(QPointF(0, 0));
m_anim->setEndValue(QPointF(100, 100));
m_anim->setDuration(2000);
- m_anim->setIterationCount(-1); // forever
+ m_anim->setLoopCount(-1); // forever
m_anim->start();
}