[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9
Maximiliano Curia
maxy at moszumanska.debian.org
Mon May 9 09:08:40 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=5750b03
The following commit has been merged in the master branch:
commit 5750b03c271f895c3f09d0198a447669ae21938a
Author: Martin Klapetek <mklapetek at kde.org>
Date: Fri Feb 6 17:06:26 2015 +0100
Handle the ContactIsBlockedRole in translation proxy too
---
KTp/Models/kpeopletranslationproxy.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/KTp/Models/kpeopletranslationproxy.cpp b/KTp/Models/kpeopletranslationproxy.cpp
index d8a0395..e01a78a 100644
--- a/KTp/Models/kpeopletranslationproxy.cpp
+++ b/KTp/Models/kpeopletranslationproxy.cpp
@@ -86,6 +86,8 @@ QVariant KPeopleTranslationProxy::data(const QModelIndex &proxyIndex, int role)
return sourceIndex.data(KPeople::PersonsModel::PhotoRole);
case KTp::IdRole:
return contact->customProperty(S_KPEOPLE_PROPERTY_CONTACT_ID);
+ case KTp::ContactIsBlockedRole:
+ return contact->customProperty(S_KPEOPLE_PROPERTY_IS_BLOCKED);
// case KTp::HeaderTotalUsersRole:
// return sourceModel()->rowCount(sourceIndex);
case KTp::ContactGroupsRole:
--
ktp-common-internals packaging
More information about the pkg-kde-commits
mailing list