From cc6ecfd31acc9d1c046025e03c9f4d41a70ccf6b Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Fri, 11 Feb 2011 18:02:47 -0500 Subject: [PATCH] Add some debugging --- src/sip/jabber/jabber_p.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/sip/jabber/jabber_p.cpp b/src/sip/jabber/jabber_p.cpp index aa101c8cf..c845f3c0f 100644 --- a/src/sip/jabber/jabber_p.cpp +++ b/src/sip/jabber/jabber_p.cpp @@ -150,11 +150,16 @@ Jabber_p::go() // Handle proxy + qDebug() << "Connecting to the XMPP server..."; + //FIXME: This call blocks and locks up the whole GUI if the network is down if( m_client->connect( false ) ) { + qDebug() << "Connected to the XMPP server"; emit connected(); QTimer::singleShot( 0, this, SLOT( doJabberRecv() ) ); } + else + qDebug() << "Could not connect to the XMPP server!"; }