make the destroy action work

This commit is contained in:
Marco Martin 2013-02-15 17:56:16 +01:00
parent 4c92755e8b
commit 44b92bec42
2 changed files with 8 additions and 0 deletions

View File

@ -166,6 +166,13 @@ void AppletPrivate::init(const QString &packagePath)
void AppletPrivate::cleanUpAndDelete()
{
// reimplemented in the UI specific library
if (configLoader) {
configLoader->setDefaults();
}
resetConfigurationObject();
q->deleteLater();
}
void AppletPrivate::showConfigurationRequiredMessage(bool show, const QString &reason)

View File

@ -310,6 +310,7 @@ void ContainmentInterface::addContainmentActions(KMenu &desktopMenu, QEvent *eve
return;
}
//STUB
desktopMenu.addAction("Containment Menu Item 1");
desktopMenu.addAction("Containment Menu Item 2");
//TODO: reenable ContainmentActions plugins