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


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

The following commit has been merged in the master branch:
commit 4ee5c69e36d4de8afd9ff5dd88c31fb9c5a6cbb9
Author: Dan Vrátil <dvratil at redhat.com>
Date:   Sun Dec 30 12:24:22 2012 +0100

    Update model when contact is moved to a group
    
    REVIEW: 108018
---
 KTp/Models/contacts-list-model.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/KTp/Models/contacts-list-model.cpp b/KTp/Models/contacts-list-model.cpp
index 219ee5f..fb19731 100644
--- a/KTp/Models/contacts-list-model.cpp
+++ b/KTp/Models/contacts-list-model.cpp
@@ -158,6 +158,12 @@ void KTp::ContactsListModel::onContactsChanged(const Tp::Contacts &added, const
             connect(contact.data(),
                     SIGNAL(clientTypesChanged(QStringList)),
                     SLOT(onChanged()));
+            connect(contact.data(),
+                    SIGNAL(addedToGroup(QString)),
+                    SLOT(onChanged()));
+            connect(contact.data(),
+                    SIGNAL(removedFromGroup(QString)),
+                    SLOT(onChanged()));
 
             connect(contact.data(), SIGNAL(invalidated()), SLOT(onConnectionDropped()));
     }

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list