diff options
-rw-r--r-- | client/sendrecieve.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/sendrecieve.cc b/client/sendrecieve.cc index 8d6caf4..25a50d0 100644 --- a/client/sendrecieve.cc +++ b/client/sendrecieve.cc @@ -126,6 +126,10 @@ 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.")); + exit(1); + break; case 2 : QMessageBox::information(NULL, tr("Pracro"), tr("Couldn't connect to server.\nPlease contact a system administrator to resolve the problem.")); exit(1); |