diff options
-rw-r--r-- | client/sendrecieve.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/sendrecieve.cc b/client/sendrecieve.cc index ab4d4c6..ee7cc6d 100644 --- a/client/sendrecieve.cc +++ b/client/sendrecieve.cc @@ -29,6 +29,7 @@ #include <stdio.h> #include <QApplication> +#include <QMessageBox> #include <QTcpSocket> #include <QDomDocument> #include <QByteArray> @@ -113,6 +114,8 @@ void SendRecieve::myDisconnected() // slot void SendRecieve::myError(QAbstractSocket::SocketError) // slot { tcpConnected = TCP_ERROR; + QMessageBox::information(NULL, tr("Pracro"), tr("Couldn't connect to server.\nPlease contact a system administrator to resolve the problem.")); + exit(1); } void SendRecieve::myReadyReadHandler() |