aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example/example_4_callHandling/xmppClient.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/example_4_callHandling/xmppClient.cpp b/example/example_4_callHandling/xmppClient.cpp
index 9087803b..7a7da11b 100644
--- a/example/example_4_callHandling/xmppClient.cpp
+++ b/example/example_4_callHandling/xmppClient.cpp
@@ -87,10 +87,10 @@ void xmppClient::slotPresenceReceived(const QXmppPresence &presence)
// start the call and connect to the its signals
QXmppCall *call = callManager().call(recipient);
- bool check = connect(job, SIGNAL(connected()), this, SLOT(slotConnected()));
+ bool check = connect(call, SIGNAL(connected()), this, SLOT(slotConnected()));
Q_ASSERT(check);
- check = connect(job, SIGNAL(finished()), this, SLOT(slotFinished()));
+ check = connect(call, SIGNAL(finished()), this, SLOT(slotFinished()));
Q_ASSERT(check);
}