Diffusion Baloo 76c207a14142

[FileIndexerConfig] Delay populating folders until actually used

Authored by broulik on Mar 14 2018, 10:47 AM.

Description

[FileIndexerConfig] Delay populating folders until actually used

The folder inclusion/exclusion configuration queries Solid for external media to exclude them,
this adds a significant overhead to using FileIndexerConfig.
In most places it is merely used to check whether file indexing is enabled in general.

Differential Revision: https://phabricator.kde.org/D11279