From f10d58bb5332887fd73752ada14b9afaefd23000 Mon Sep 17 00:00:00 2001 From: Igor Trindade Oliveira Date: Fri, 4 Dec 2009 02:46:30 +0000 Subject: [PATCH] leak--: disconnect signal svn path=/trunk/KDE/kdelibs/; revision=1058175 --- animations/slide.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/animations/slide.cpp b/animations/slide.cpp index 0dea9a341..1867b477b 100644 --- a/animations/slide.cpp +++ b/animations/slide.cpp @@ -29,6 +29,7 @@ void SlideAnimation::setWidgetToAnimate(QGraphicsWidget *widget) { Animation::setWidgetToAnimate(widget); if (m_animation) { + disconnect(m_animation, SIGNAL(finished()), this, SIGNAL(finished())); delete m_animation; }