don't crash if the containment config dialog is open
BUG:210653 svn path=/trunk/KDE/kdelibs/; revision=1035776
This commit is contained in:
parent
167d17a9ae
commit
d7915a8dff
@ -126,6 +126,9 @@ Containment::Containment(QObject *parent, const QVariantList &args)
|
|||||||
Containment::~Containment()
|
Containment::~Containment()
|
||||||
{
|
{
|
||||||
delete d;
|
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()
|
void Containment::init()
|
||||||
|
Loading…
Reference in New Issue
Block a user