diff --git a/animations/slide.cpp b/animations/slide.cpp index c20924495..56766eb08 100644 --- a/animations/slide.cpp +++ b/animations/slide.cpp @@ -111,8 +111,8 @@ void SlideAnimation::updateState(QAbstractAnimation::State newState, QAbstractAn } if (moveAnyOnly && m_animDirection.testFlag(MoveAny)) { - newX = actualDistance.x(); - newY = actualDistance.y(); + newX += actualDistance.x(); + newY += actualDistance.y(); } if (direction() == QAbstractAnimation::Forward) {