don't crash if the containment config dialog is open

BUG:210653

svn path=/trunk/KDE/kdelibs/; revision=1035776
This commit is contained in:
Aaron J. Seigo 2009-10-15 20:43:12 +00:00
parent 167d17a9ae
commit d7915a8dff

View File

@ -126,6 +126,9 @@ Containment::Containment(QObject *parent, const QVariantList &args)
Containment::~Containment()
{
delete d;
// Applet touches our dptr if we are a containment and is the superclass (think of dtors)
// so we reset this as we exit the building
Applet::d->isContainment = false;
}
void Containment::init()