Skip to content
Commit 7a6bf2d1 authored by Alexander Lohnau's avatar Alexander Lohnau
Browse files

applets/kicker: Replace RunnerMatchesModel sorting with KRunner::ResultsModel

We still need to provide additional features, like the context menu actions.
But the sorting will be the same.

Also, each KRunner::ResultsModel takes care of managing the RunnerManager internally.
Meaning we can not have one shared RunnerManager and then redistribute the results
to different models in case we have mergeResults=false.
Instead, we have multiple ResultsModels in case mergeResults is false, but
each RunnerManager loads exactly one runner.

This also means that we should not delete the models after the query changed,
because the plugin instantiation and initialization would cause overhead.

BUG: 431204
FIXED-IN: 6.0
parent cbea5b92
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