[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:06:20 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=77b11a3

The following commit has been merged in the master branch:
commit 77b11a3fb65d76870a66f99789a717d5555921a3
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Fri Feb 1 17:52:27 2013 +0000

    Include Qt::DisplayRole
---
 KTp/Models/contacts-list-model.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/KTp/Models/contacts-list-model.cpp b/KTp/Models/contacts-list-model.cpp
index 95ca282..da742d7 100644
--- a/KTp/Models/contacts-list-model.cpp
+++ b/KTp/Models/contacts-list-model.cpp
@@ -96,6 +96,8 @@ QVariant KTp::ContactsListModel::data(const QModelIndex &index, int role) const
         switch (role) {
         case KTp::RowTypeRole:
             return KTp::ContactRowType;
+        case Qt::DisplayRole:
+            return contact->alias();    
        case KTp::IdRole:
             return contact->id();
 

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list