From 7468dea5da4550ed0a08a42d8cc379d861a036e3 Mon Sep 17 00:00:00 2001 From: Igor Trindade Oliveira Date: Thu, 19 Nov 2009 15:25:25 +0000 Subject: [PATCH] fix disconnect svn path=/trunk/KDE/kdelibs/; revision=1051480 --- private/kineticscroll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/private/kineticscroll.cpp b/private/kineticscroll.cpp index 21a413fe3..cb9f54b0f 100644 --- a/private/kineticscroll.cpp +++ b/private/kineticscroll.cpp @@ -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; }