┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dbusinterface.cpp
diff options
context:
space:
mode:
authorStefan Brüns <[email protected]>2020-12-28 03:23:23 +0100
committerStefan Brüns <[email protected]>2021-01-11 12:28:38 +0100
commitcade3eb302fcf9144cd538fbd1e506c33dbe3b48 (patch)
treedfc1de67ba52ec92053876cdcd3231c41af20986 /src/dbusinterface.cpp
parentdcdf4b01c8b0517ad23b420316e27c8dce9cef82 (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