Skip to content

Port locations runner away from deprecated methods & cleanup

Alexander Lohnau requested to merge work/port_krunner_methods into master
  • Do not use deprecated RunnerContext::type()
  • Write the url always in the data, this way we don't need to do all the parsing twice.
  • The concept of the case insensitive search does not make sense in this runner. If the user want to have case insensitive file search the baloo/recent docs/places runners should be used.
  • Do not show a match when we are sure the file does not exist. This would only show a KIO error message when launching it, consequently there is no point in showing the message in the first place.

Test Plan (should still work):

Does not produce results anymore:

The second commit fixes https://bugs.kde.org/show_bug.cgi?id=358221

image image

@ngraham @broulik

Edited by Alexander Lohnau

Merge request reports