QTfrontend/newnetclient.cpp
changeset 1418 69df8f2a7cba
parent 1415 6fbfee0e113a
child 1427 b510f7a74ef6
--- a/QTfrontend/newnetclient.cpp	Sun Oct 26 14:37:50 2008 +0000
+++ b/QTfrontend/newnetclient.cpp	Sun Oct 26 14:45:07 2008 +0000
@@ -38,17 +38,17 @@
   loginStep(0),
   netClientState(0)
 {
-  connect(&NetSocket, SIGNAL(readyRead()), this, SLOT(ClientRead()));
-  connect(&NetSocket, SIGNAL(connected()), this, SLOT(OnConnect()));
-  connect(&NetSocket, SIGNAL(disconnected()), this, SLOT(OnDisconnect()));
-  connect(&NetSocket, SIGNAL(error(QAbstractSocket::SocketError)), this,
-	  SLOT(displayError(QAbstractSocket::SocketError)));
+	connect(&NetSocket, SIGNAL(readyRead()), this, SLOT(ClientRead()));
+	connect(&NetSocket, SIGNAL(connected()), this, SLOT(OnConnect()));
+	connect(&NetSocket, SIGNAL(disconnected()), this, SLOT(OnDisconnect()));
+	connect(&NetSocket, SIGNAL(error(QAbstractSocket::SocketError)), this,
+			SLOT(displayError(QAbstractSocket::SocketError)));
 }
 
 void HWNewNet::Connect(const QString & hostName, quint16 port, const QString & nick)
 {
-  mynick = nick;
-  NetSocket.connectToHost(hostName, port);
+	mynick = nick;
+	NetSocket.connectToHost(hostName, port);
 }
 
 void HWNewNet::Disconnect()