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