diff options
| author | Stefan Brüns <[email protected]> | 2020-12-28 03:23:23 +0100 |
|---|---|---|
| committer | Stefan Brüns <[email protected]> | 2021-01-11 12:28:38 +0100 |
| commit | cade3eb302fcf9144cd538fbd1e506c33dbe3b48 (patch) | |
| tree | dfc1de67ba52ec92053876cdcd3231c41af20986 /src/dbusinterface.cpp | |
| parent | dcdf4b01c8b0517ad23b420316e27c8dce9cef82 (diff) | |
[BalooRolesProvider] Use Property IDs instead of string matching
Instantiating KFileMetaDataInfo for each file and property, even when
the role is not used, is somewhat expensive and unnecessary. Use the
numeric Property ID to map it to a role, and only instantiate the used
PropertyInfo's.
Remove the properties provided by KFM::UserMetaData from the map, as
these will newer match.
Diffstat (limited to 'src/dbusinterface.cpp')
0 files changed, 0 insertions, 0 deletions
