[telepathy-qt4/master] ContactManager: Remove contact list group channel from internal list when group is removed.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Wed Jul 22 21:36:26 PDT 2009
---
TelepathyQt4/contact-manager.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/TelepathyQt4/contact-manager.cpp b/TelepathyQt4/contact-manager.cpp
index e40ef6f..48d60a8 100644
--- a/TelepathyQt4/contact-manager.cpp
+++ b/TelepathyQt4/contact-manager.cpp
@@ -917,6 +917,7 @@ void ContactManager::onContactListGroupRemoved(Tp::DBusProxy *proxy,
ChannelPtr contactListGroupChannel = ChannelPtr(qobject_cast<Channel*>(proxy));
QString id = contactListGroupChannel->immutableProperties().value(
QLatin1String(TELEPATHY_INTERFACE_CHANNEL ".TargetID")).toString();
+ mPriv->contactListGroupsChannels.remove(id);
emit groupRemoved(id);
}
--
1.5.6.5
More information about the telepathy-commits
mailing list