diff --git a/containment.cpp b/containment.cpp index 315b8e8d7..7ea9ccfac 100644 --- a/containment.cpp +++ b/containment.cpp @@ -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()