this animtion is a slide, is not an absolute position target

svn path=/trunk/KDE/kdelibs/; revision=1137131
This commit is contained in:
Marco Martin 2010-06-11 18:38:58 +00:00
parent e07a9c88bb
commit b959b74d36

View File

@ -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) {