stop forwarding appletRemoved on application close
the containment must not save geometries without the applets that are being deleted BUG:335742
This commit is contained in:
parent
bd61f033f7
commit
223fe9b431
@ -88,6 +88,12 @@ ContainmentInterface::ContainmentInterface(DeclarativeAppletScript *parent, cons
|
|||||||
if (!m_appletInterfaces.isEmpty()) {
|
if (!m_appletInterfaces.isEmpty()) {
|
||||||
emit appletsChanged();
|
emit appletsChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit,
|
||||||
|
[=]() {
|
||||||
|
disconnect(containment(), &Plasma::Containment::appletRemoved,
|
||||||
|
this, &ContainmentInterface::appletRemovedForward);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
void ContainmentInterface::init()
|
void ContainmentInterface::init()
|
||||||
|
Loading…
Reference in New Issue
Block a user