fix disconnect

svn path=/trunk/KDE/kdelibs/; revision=1051480
This commit is contained in:
Igor Trindade Oliveira 2009-11-19 15:25:25 +00:00
parent 59288a9be3
commit 7468dea5da

View File

@ -349,7 +349,7 @@ void KineticScrolling::setWidget(QGraphicsWidget *parent)
{
if (d->parent) {
d->parent->removeEventFilter(this);
d->scrollAnimation->disconnect(SIGNAL(finished()));
disconnect(d->scrollAnimation, SIGNAL(finished()), this, SLOT(overshoot()));
delete d->scrollAnimation;
}