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 8a6d850..3e44873 100644
--- a/examples/animation/easing/window.cpp
+++ b/examples/animation/easing/window.cpp
@@ -111,7 +111,7 @@ void Window::createCurveIcons()
QPainterPath curvePath;
curvePath.moveTo(start);
- for (qreal t = 0; t < 1.0; t+=1.0/curveScale) {
+ for (qreal t = 0; t <= 1.0; t+=1.0/curveScale) {
QPoint to;
to.setX(yAxis + curveScale * t);
to.setY(xAxis - curveScale * curve.valueForProgress(t));