aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/mainDialog.cpp
diff options
context:
space:
mode:
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);
}
}