1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 00:24:12 +02:00

Add some debugging

This commit is contained in:
Jeff Mitchell
2011-02-11 18:02:47 -05:00
parent 0411ff7fdc
commit cc6ecfd31a

View File

@@ -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!";
}