PersonsModel: Fix PersonVCardRole
Reviewers: apol, nicolasfella
Reviewed By: nicolasfella
Subscribers: nicolasfella, kde-frameworks-devel
Tags: Frameworks
Differential Revision: https://phabricator.kde.org/D28110
jbbgameich | Mar 17 2020, 11:31 PM |
I'm sorry, this broke existing code (even in KPeople). Despite the confusing name, PersonVCardRole actually was supposed to return an AbstractContact::Ptr. Should I revert this or is there a better solution?
This could be an api where TODO KF6 would make sense. We should find a better fitting name for this functionality, like AbstractContactProperty.