[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:05:53 UTC 2016


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

The following commit has been merged in the master branch:
commit 5a3a53d09b2073df996b16f581cf4822cb24a265
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Thu Nov 22 16:22:34 2012 +0900

    Expose AccountPtr and ContactPtr items to QML.
    
    Needed for contact-list-applet.
    REVIEW: 107399
---
 KTp/Models/contacts-model.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/KTp/Models/contacts-model.cpp b/KTp/Models/contacts-model.cpp
index 5101cf4..c4aaf10 100644
--- a/KTp/Models/contacts-model.cpp
+++ b/KTp/Models/contacts-model.cpp
@@ -68,6 +68,8 @@ ContactsModel::ContactsModel(QObject *parent)
     QHash<int, QByteArray> roles;
     roles[ItemRole] = "item";
     roles[IdRole] = "id";
+    roles[AccountRole] = "account";
+    roles[ContactRole] = "contact";
     roles[ValidRole] = "valid";
     roles[EnabledRole] = "enabled";
     roles[ConnectionManagerNameRole] = "connectionManager";

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list