[SCM] ktp-contact-list packaging branch, master, updated. debian/15.12.1-2-1070-g6c56f91

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:15:03 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=c12d04f

The following commit has been merged in the master branch:
commit c12d04fe1f7bd1f9e5d1acf9e78815bf70a7b5a5
Author: Martin Klapetek <mklapetek at kde.org>
Date:   Wed Jan 14 15:29:49 2015 +0100

    Fix build after the kpeople changes
---
 context-menu.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/context-menu.cpp b/context-menu.cpp
index 6c73622..d9fa29c 100644
--- a/context-menu.cpp
+++ b/context-menu.cpp
@@ -103,10 +103,10 @@ QMenu* ContextMenu::contactContextMenu(const QModelIndex &index)
     if (KTp::kpeopleEnabled()) {
     #ifdef HAVE_KPEOPLE
         if (index.parent().isValid()) {
-            menu->addActions(KPeople::actionsForPerson(index.data(KTp::ContactVCardRole).value<KContacts::Addressee>(), KContacts::AddresseeList(), menu));
+            menu->addActions(KPeople::actionsForPerson(index.data(KTp::IdRole).toString(), menu));
         } else {
             KPeople::PersonData p(index.data(KTp::PersonIdRole).toString());
-            menu->addActions(KPeople::actionsForPerson(p.person(), p.contacts(), menu));
+            menu->addActions(KPeople::actionsForPerson(p.personId(), menu));
         }
     #endif
     } else {

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list