Commit 40ebb2f7 authored by Laurent Montel's avatar Laurent Montel 😁

Don't duplicate entries

parent 7373d2ff
......@@ -74,12 +74,13 @@ void LoadCategoriesJob::start()
tmp.logName = kdeCat.logName;
mCustomCategories.append(tmp);
}
if (!qtCategories.isEmpty()) {
LoggingCategory tmp;
tmp.description = kdeCat.description;
tmp.logName = kdeCat.logName;
mQtKdeCategories.append(tmp);
}
}
//FIXME
Q_FOREACH (const LoggingCategory &cat, qtCategories) {
LoggingCategory tmp;
tmp.description = cat.description;
tmp.logName = cat.logName;
mCustomCategories.append(tmp);
}
}
}
......
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