[Baloo] Fix firstRun and config change logic
ClosedPublic

Authored by bruns on Mar 7 2020, 8:39 PM.

Details

Summary

FirstRun should only be set if baloo was *never ever* run before, and
this case is already handled by baloo internally.

Do no try to do a baloo config refresh if it has just been quit.

Also avoid triggering a config update immediately after starting baloo,
it will do another walk of the directory tree.

Diff Detail

Repository
R119 Plasma Desktop
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 23409
Build 23427: arc lint + arc unit
bruns created this revision.Mar 7 2020, 8:39 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 7 2020, 8:39 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
bruns requested review of this revision.Mar 7 2020, 8:39 PM
bruns added a reviewer: Plasma.Mar 8 2020, 2:03 PM
ngraham accepted this revision.Mar 11 2020, 5:17 PM
This revision is now accepted and ready to land.Mar 11 2020, 5:17 PM
This revision was automatically updated to reflect the committed changes.