runners/baloo: Add missing category "text" to file search results

The baloo runner plugin was missing the category "Text" in the matches, which
caused many files to be inaccessible from KRunner even though they are indexed
and relevant. This change fixes the missing results and correctly finds all
relevant files.
wilder-5.25
Natalie Clarius 4 years ago committed by Nate Graham
parent 6d4a2071e8
commit bd397f89e1
  1. 1
      runners/baloo/baloosearchrunner.cpp

@ -90,6 +90,7 @@ RemoteMatches SearchRunner::Match(const QString &searchTerm)
matches << matchInternal(searchTerm, QStringLiteral("Folder"), i18n("Folder"), foundUrls);
matches << matchInternal(searchTerm, QStringLiteral("Document"), i18n("Document"), foundUrls);
matches << matchInternal(searchTerm, QStringLiteral("Archive"), i18n("Archive"), foundUrls);
matches << matchInternal(searchTerm, QStringLiteral("Text"), i18n("Text"), foundUrls);
return matches;
}

Loading…
Cancel
Save