From 53f812ed42ca2252fc891e4befb193aa4de01dd7 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 11 Aug 2011 23:41:05 +0200 Subject: [PATCH] * Used tLog() instead of qDebug() for jabber errors. --- src/sip/jabber/jabber.cpp | 6 ++++++ src/sip/jabber/jabber.h | 5 +---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/sip/jabber/jabber.cpp b/src/sip/jabber/jabber.cpp index 6cc138aa2..9434dc1b4 100644 --- a/src/sip/jabber/jabber.cpp +++ b/src/sip/jabber/jabber.cpp @@ -325,6 +325,12 @@ JabberPlugin::onDisconnect( Jreen::Client::DisconnectReason reason ) } } +void +JabberPlugin::onError( const Jreen::Connection::SocketError& e ) +{ + tLog() << "JABBER error:" << e; +} + QString JabberPlugin::errorMessage( Jreen::Client::DisconnectReason reason ) { diff --git a/src/sip/jabber/jabber.h b/src/sip/jabber/jabber.h index 1d12bb7de..101ac5c15 100644 --- a/src/sip/jabber/jabber.h +++ b/src/sip/jabber/jabber.h @@ -111,10 +111,7 @@ private slots: void onSubscriptionRequestConfirmed( int result ); void onNewMessage( const Jreen::Message& message ); - void onError( const Jreen::Connection::SocketError& e ) - { - qDebug() << e; - } + void onError( const Jreen::Connection::SocketError& e ); void onNewIq( const Jreen::IQ &iq ); void onNewAvatar( const QString &jid ); void onCheckJidExists( QString jid );