D28110: PersonsModel: Fix PersonVCardRole

Nicolas Fella noreply at phabricator.kde.org
Tue Mar 17 22:54:20 GMT 2020


nicolasfella added inline comments.

INLINE COMMENTS

> personsmodel.cpp:186
>      case PersonsModel::PersonVCardRole:
> -        return QVariant::fromValue<AbstractContact::Ptr>(person);
> +        return person->customProperty(QStringLiteral("vcard"));
>      case PersonsModel::ContactsVCardRole:

Use AbstractContact::VCardProperty

REPOSITORY
  R307 KPeople

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

To: jbbgameich, apol
Cc: nicolasfella, kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200317/94f8c076/attachment.html>


More information about the Kde-frameworks-devel mailing list