aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/mainDialog.cpp
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2010-10-19 15:18:29 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2010-10-19 15:18:29 +0000
commit18f8e2db919b58f5aba68e6f0ff0890bea6529b8 (patch)
tree434bd1a41d7b535efd351cf233e0e8ea3d348da6 /examples/GuiClient/mainDialog.cpp
parent2a548516eaec820dcaaa628d639c9e9cabbf077d (diff)
downloadqxmpp-18f8e2db919b58f5aba68e6f0ff0890bea6529b8.tar.gz
removing contact should remove the contact from the UI as well
Diffstat (limited to 'examples/GuiClient/mainDialog.cpp')
-rw-r--r--examples/GuiClient/mainDialog.cpp2
1 files changed, 2 insertions, 0 deletions
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);
}
}