fix scrollAnimation parent
svn path=/trunk/KDE/kdelibs/; revision=1051528
This commit is contained in:
parent
7468dea5da
commit
e1b3fb48a7
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user