[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:07 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=7c89798
The following commit has been merged in the master branch:
commit 7c89798a94358acbabb0df4c575cb04ae5894917
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