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.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/GuiClient/mainDialog.cpp b/examples/GuiClient/mainDialog.cpp
index d6c8e24b..ca3d0295 100644
--- a/examples/GuiClient/mainDialog.cpp
+++ b/examples/GuiClient/mainDialog.cpp
@@ -107,6 +107,10 @@ mainDialog::mainDialog(QWidget *parent): QDialog(parent, Qt::Window),
this, SLOT(showProfile(const QString&)));
Q_ASSERT(check);
+ check = connect(ui->listView, SIGNAL(removeContact(const QString&)),
+ this, SLOT(action_removeContact(const QString&)));
+ Q_ASSERT(check);
+
check = connect(&m_xmppClient, SIGNAL(messageReceived(const QXmppMessage&)),
SLOT(messageReceived(const QXmppMessage&)));
Q_ASSERT(check);