[telepathy-qt4/master] IncomingFileTransferChannel: Do not print socket error, as it always happen when the transfer finishes.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Thu Sep 17 11:59:43 PDT 2009


When the transfer finishes, completed or not the CM closes the socket, which
generate a socket error with QAbstractSocket::RemoteHostClosedError.
Let's not debug this.
---
 TelepathyQt4/incoming-file-transfer-channel.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/TelepathyQt4/incoming-file-transfer-channel.cpp b/TelepathyQt4/incoming-file-transfer-channel.cpp
index 6de0dfa..a1fc885 100644
--- a/TelepathyQt4/incoming-file-transfer-channel.cpp
+++ b/TelepathyQt4/incoming-file-transfer-channel.cpp
@@ -231,7 +231,6 @@ void IncomingFileTransferChannel::onSocketDisconnected()
 
 void IncomingFileTransferChannel::onSocketError(QAbstractSocket::SocketError error)
 {
-    debug() << "Socket error" << error;
     setFinished();
 }
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list