From 62c417fe4655287f4bd740a4cf6f19af70b404f9 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Sat, 18 Oct 2008 20:59:53 +0000 Subject: [PATCH] get the connection right svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873121 --- view.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view.cpp b/view.cpp index ea1ab0d16..653d49c71 100644 --- a/view.cpp +++ b/view.cpp @@ -194,7 +194,7 @@ void View::setContainment(Plasma::Containment *containment) } if (d->containment) { - disconnect(containment, SIGNAL(destroyed()), this, SLOT(containmentDestroyed())); + disconnect(containment, SIGNAL(destroyed(QObject*)), this, SLOT(containmentDestroyed())); disconnect(d->containment, SIGNAL(geometryChanged()), this, SLOT(updateSceneRect())); d->containment->removeAssociatedWidget(this); } @@ -242,7 +242,7 @@ void View::setContainment(Plasma::Containment *containment) } d->updateSceneRect(); - connect(containment, SIGNAL(destroyed()), this, SLOT(containmentDestroyed())); + connect(containment, SIGNAL(destroyed(QObject*)), this, SLOT(containmentDestroyed())); connect(containment, SIGNAL(geometryChanged()), this, SLOT(updateSceneRect())); }