From b959b74d363e1e2b288d59d76f9c3f5297af96d5 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 11 Jun 2010 18:38:58 +0000 Subject: [PATCH] this animtion is a slide, is not an absolute position target svn path=/trunk/KDE/kdelibs/; revision=1137131 --- animations/slide.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {