summaryrefslogtreecommitdiff
path: root/client/sendrecieve.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/sendrecieve.cc')
-rw-r--r--client/sendrecieve.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/client/sendrecieve.cc b/client/sendrecieve.cc
index 25a50d0..8b4732b 100644
--- a/client/sendrecieve.cc
+++ b/client/sendrecieve.cc
@@ -124,7 +124,6 @@ void SendRecieve::myDisconnected() // slot
void SendRecieve::myError(QAbstractSocket::SocketError socketError) // slot
{
tcpConnected = TCP_ERROR;
- printf("socket_error: %d\n", socketError);
switch (socketError) {
case 0 :
QMessageBox::information(NULL, tr("Pracro"), tr("Couldn't connect to server.\nPlease contact a system administrator to resolve the problem."));
@@ -134,8 +133,8 @@ void SendRecieve::myError(QAbstractSocket::SocketError socketError) // slot
QMessageBox::information(NULL, tr("Pracro"), tr("Couldn't connect to server.\nPlease contact a system administrator to resolve the problem."));
exit(1);
break;
- default :
- printf("default\n");
+ default:
+ ;
}
}