leak--: disconnect signal
svn path=/trunk/KDE/kdelibs/; revision=1058175
This commit is contained in:
parent
a1b48efa16
commit
f10d58bb53
@ -29,6 +29,7 @@ void SlideAnimation::setWidgetToAnimate(QGraphicsWidget *widget)
|
|||||||
{
|
{
|
||||||
Animation::setWidgetToAnimate(widget);
|
Animation::setWidgetToAnimate(widget);
|
||||||
if (m_animation) {
|
if (m_animation) {
|
||||||
|
disconnect(m_animation, SIGNAL(finished()), this, SIGNAL(finished()));
|
||||||
delete m_animation;
|
delete m_animation;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user