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 4c003d44 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

kns: don't include kns in global searches

BUG: 399503
parent 4d1d585e
......@@ -375,7 +375,7 @@ ResultsStream* KNSBackend::search(const AbstractResourcesBackend::Filters& filte
}
return stream;
} else if ((!filter.category && !filter.search.isEmpty()) || (filter.category && filter.category->matchesCategoryName(m_categories.constFirst()))) {
} else if (filter.category && filter.category->matchesCategoryName(m_categories.constFirst())) {
auto r = new ResultsStream(QStringLiteral("KNS-search-")+name());
searchStream(r, filter.search);
return r;
......
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