diff options
-rw-r--r-- | parts/documentation/interfaces/kdevdocumentationplugin.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/parts/documentation/interfaces/kdevdocumentationplugin.cpp b/parts/documentation/interfaces/kdevdocumentationplugin.cpp index 636731f9..0282d82a 100644 --- a/parts/documentation/interfaces/kdevdocumentationplugin.cpp +++ b/parts/documentation/interfaces/kdevdocumentationplugin.cpp @@ -544,11 +544,17 @@ void DocumentationPlugin::loadCatalogConfiguration(TDEListView *configurationVie void DocumentationPlugin::saveCatalogConfiguration(TDEListView *configurationView) { - config->setGroup("Locations"); - + for (TQStringList::const_iterator it = deletedConfigurationItems.constBegin(); it != deletedConfigurationItems.constEnd(); ++it) { + config->setGroup("Locations"); + config->deleteEntry(*it); + config->setGroup("TOC Settings"); + config->deleteEntry(*it); + config->setGroup("Index Settings"); + config->deleteEntry(*it); + config->setGroup("Search Settings"); config->deleteEntry(*it); } |