Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 05d10118 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Don't load categories for invalid backends

BUG: 397003
parent af0c9083
......@@ -49,6 +49,9 @@ void CategoryModel::populateCategories()
QVector<Category*> ret;
CategoriesReader cr;
Q_FOREACH (const auto backend, backends) {
if (!backend->isValid())
continue;
const QVector<Category*> cats = cr.loadCategoriesFile(backend);
if(ret.isEmpty()) {
......
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