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. 


(cherry picked from commit bd397f89e1)
wilder-5.24
Natalie Clarius 4 years ago committed by Nate Graham
parent ab86bd37ad
commit 87f06d8187
  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