[FileContentIndexer] Connect finished signal from extractor process
ClosedPublic

Authored by bruns on Oct 6 2018, 11:43 PM.

Details

Summary

Only emit the "finished" signal to any watchers when the indexing
is really finished. Also reset currentFile on finished.

Test Plan

start dbus-monitor
touch some larger files
-> some time passes between started and finished signals

Diff Detail

Repository
R293 Baloo
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bruns created this revision.Oct 6 2018, 11:43 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptOct 6 2018, 11:43 PM
Restricted Application added subscribers: Baloo, kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Oct 6 2018, 11:43 PM
ngraham accepted this revision.Oct 6 2018, 11:48 PM

connect(&process, &ExtractorProcess::startedIndexingFile, this, &FileContentIndexer::slotFinishedIndexingFile);

Lol whoops

This revision is now accepted and ready to land.Oct 6 2018, 11:48 PM
This revision was automatically updated to reflect the committed changes.