fix scrollAnimation parent

svn path=/trunk/KDE/kdelibs/; revision=1051528
This commit is contained in:
Igor Trindade Oliveira 2009-11-19 18:18:55 +00:00
parent 7468dea5da
commit e1b3fb48a7

View File

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