disconnect d->containment, not containment :)
in some cases the view became without any active containment otherwise svn path=/trunk/KDE/kdelibs/; revision=892260
This commit is contained in:
parent
1c4f777dd4
commit
85ef865213
2
view.cpp
2
view.cpp
@ -192,7 +192,7 @@ void View::setContainment(Plasma::Containment *containment)
|
||||
}
|
||||
|
||||
if (d->containment) {
|
||||
disconnect(containment, SIGNAL(destroyed(QObject*)), this, SLOT(containmentDestroyed()));
|
||||
disconnect(d->containment, SIGNAL(destroyed(QObject*)), this, SLOT(containmentDestroyed()));
|
||||
disconnect(d->containment, SIGNAL(geometryChanged()), this, SLOT(updateSceneRect()));
|
||||
d->containment->removeAssociatedWidget(this);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user