Initialise QML monitor values
ClosedPublic

Authored by davidedmundson on Dec 6 2019, 4:33 PM.

Details

Summary

m_indexerState would not be initialised and m_totalFiles would be
garbage values if baloo_file wasn't running. We want to initialise
everything.

Test Plan

Compiles

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.
davidedmundson created this revision.Dec 6 2019, 4:33 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptDec 6 2019, 4:33 PM
Restricted Application added subscribers: Baloo, kde-frameworks-devel. · View Herald Transcript
davidedmundson requested review of this revision.Dec 6 2019, 4:33 PM
ngraham accepted this revision.Dec 6 2019, 5:33 PM
This revision is now accepted and ready to land.Dec 6 2019, 5:33 PM
This revision was automatically updated to reflect the committed changes.
broulik added inline comments.
src/qml/experimental/monitor.h
82

Might was well move the nullptr here, too