QTfrontend/newnetclient.cpp
changeset 1302 4290ba4a14ca
parent 1245 d2eca4a053f5
child 1305 453882eb4467
--- a/QTfrontend/newnetclient.cpp	Mon Sep 29 22:14:23 2008 +0000
+++ b/QTfrontend/newnetclient.cpp	Sun Oct 05 16:35:46 2008 +0000
@@ -109,7 +109,7 @@
 
 void HWNewNet::RawSendNet(const QByteArray & buf)
 {
-qDebug() << "Client: " << buf;
+  qDebug() << "Client: " << buf;
   NetSocket.write(buf);
   NetSocket.write("\n\n", 2);
 }
@@ -144,26 +144,26 @@
 
 void HWNewNet::displayError(QAbstractSocket::SocketError socketError)
 {
-  switch (socketError) {
-  case QAbstractSocket::RemoteHostClosedError:
-    break;
-  case QAbstractSocket::HostNotFoundError:
-    QMessageBox::information(0, tr("Error"),
-			     tr("The host was not found. Please check the host name and port settings."));
-    break;
-  case QAbstractSocket::ConnectionRefusedError:
-    QMessageBox::information(0, tr("Error"),
-			     tr("Connection refused"));
-    break;
-  default:
-    QMessageBox::information(0, tr("Error"),
-			     NetSocket.errorString());
-  }
+	switch (socketError) {
+		case QAbstractSocket::RemoteHostClosedError:
+			break;
+		case QAbstractSocket::HostNotFoundError:
+			QMessageBox::information(0, tr("Error"),
+					tr("The host was not found. Please check the host name and port settings."));
+			break;
+		case QAbstractSocket::ConnectionRefusedError:
+			QMessageBox::information(0, tr("Error"),
+					tr("Connection refused"));
+			break;
+		default:
+			QMessageBox::information(0, tr("Error"),
+					NetSocket.errorString());
+		}
 }
 
 void HWNewNet::ParseCmd(const QStringList & lst)
 {
-qDebug() << "Server: " << lst;
+  qDebug() << "Server: " << lst;
 
   if(!lst.size())
   {