D19088: Use propertymap to store properties in Baloo::Result

Alexander Stippich noreply at phabricator.kde.org
Sat Sep 7 13:39:56 BST 2019


astippich accepted this revision.
astippich added inline comments.
This revision is now accepted and ready to land.

INLINE COMMENTS

> file.cpp:121
>      const QJsonDocument jdoc = QJsonDocument::fromJson(arr);
> -    const QVariantMap varMap = jdoc.object().toVariantMap();
> -    d->propertyMap = KFileMetaData::toPropertyMap(varMap);
> +    d->propertyMap = Baloo::jsonToPropertyMap(jdoc.object());
>  

We are already using Baloo namespace here.

REPOSITORY
  R293 Baloo

BRANCH
  propertymap

REVISION DETAIL
  https://phabricator.kde.org/D19088

To: bruns, #baloo, #frameworks, ngraham, poboiko, astippich
Cc: kde-frameworks-devel, LeGast00n, fbampaloukas, GB_2, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190907/95294e7f/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list