From 18f8e2db919b58f5aba68e6f0ff0890bea6529b8 Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Tue, 19 Oct 2010 15:18:29 +0000 Subject: removing contact should remove the contact from the UI as well --- examples/GuiClient/mainDialog.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/GuiClient/mainDialog.cpp') diff --git a/examples/GuiClient/mainDialog.cpp b/examples/GuiClient/mainDialog.cpp index 2b7c689c..5ec06900 100644 --- a/examples/GuiClient/mainDialog.cpp +++ b/examples/GuiClient/mainDialog.cpp @@ -826,6 +826,8 @@ void mainDialog::action_removeContact(const QString& bareJid) itemRemove.setBareJid(bareJid); remove.addItem(itemRemove); m_xmppClient.sendPacket(remove); + + m_rosterItemModel.removeRosterEntry(bareJid); } } -- cgit v1.2.3