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

RunnerContext: Do not save context after every match session

We don't run a match in every session, meaning if we close KRunner
without running any match, we'd write it anyway.

Also, writing it for every run is not necessary. The idea is to not rely
on the syncing on app exit, because that caused the config to not be
written in some cases. As a middle ground, the value is synced every
5 runs.
For tests, the variable has been exported so that it can be changed to
sync the config immediately.
parent 00802587
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