Commit 8540c2a5 authored by Laurent Montel's avatar Laurent Montel 😁

Reactivate insert categories

parent 382afb61
......@@ -222,8 +222,16 @@ void KDebugSettingsDialog::slotInsertCategories()
const QString path = QFileDialog::getOpenFileName(this, i18n("Insert Categories"));
if (!path.isEmpty()) {
const KdeLoggingCategory::List insertCategoriesList = KDebugSettingsUtil::readLoggingCategoriesForInserting(path, mCategories);
//TODO insert value
//FIXME mKdeApplicationSettingsPage->insertCategories(insertCategoriesList);
LoggingCategory::List newCategories;
Q_FOREACH(const KdeLoggingCategory &cat, insertCategoriesList) {
LoggingCategory loggingCat;
loggingCat.description = cat.description;
loggingCat.logName = cat.logName;
if (loggingCat.isValid()) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment