Add option to retain prior search
This option allows us to restore the previous query when opening KRunner. The GUI option is here: plasma-desktop!134 (merged).
When implementing this I was unsure if the actually typed text should be used or the displayed text(including history).
After using this for a while I decided to settle for the second approach:
- This is very predictable, the last thing you have seen is going to be restored
- If we were to restore only the text the user has typed KRunner would still autocomplete it. We could suppress this, but then we still have the problem that the users might want to use autocompletion and then the behavior will get inconsistent.