From e1b3fb48a7e359bd9c8df86a4a6e5b04c73cdccb Mon Sep 17 00:00:00 2001 From: Igor Trindade Oliveira Date: Thu, 19 Nov 2009 18:18:55 +0000 Subject: [PATCH] fix scrollAnimation parent svn path=/trunk/KDE/kdelibs/; revision=1051528 --- private/kineticscroll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/private/kineticscroll.cpp b/private/kineticscroll.cpp index cb9f54b0f..6d9aa9517 100644 --- a/private/kineticscroll.cpp +++ b/private/kineticscroll.cpp @@ -357,7 +357,7 @@ void KineticScrolling::setWidget(QGraphicsWidget *parent) d->parent = parent; - d->scrollAnimation = new QPropertyAnimation(parent, "scrollPosition"); + d->scrollAnimation = new QPropertyAnimation(parent, "scrollPosition", parent); connect(d->scrollAnimation, SIGNAL(finished()), this, SLOT(overshoot())); d->scrollAnimation->setEasingCurve(QEasingCurve::OutCirc);