QTfrontend/newnetclient.cpp
changeset 2377 f3fab2b09e0c
parent 2356 b756432fd422
child 2396 e13a1117152b
--- a/QTfrontend/newnetclient.cpp	Thu Sep 10 15:29:28 2009 +0000
+++ b/QTfrontend/newnetclient.cpp	Thu Sep 10 15:30:11 2009 +0000
@@ -75,7 +75,7 @@
 	if (m_game_connected)
 		RawSendNet(QString("QUIT%1%2").arg(delimeter).arg("User quit"));
 	m_game_connected = false;
-	
+
 	NetSocket.disconnectFromHost();
 }
 
@@ -86,7 +86,7 @@
 		qWarning("Illegal try to create room!");
 		return;
 	}
-	
+
 	RawSendNet(QString("CREATE_ROOM%1%2").arg(delimeter).arg(room));
 	isChief = true;
 }
@@ -98,7 +98,7 @@
 		qWarning("Illegal try to join room!");
 		return;
 	}
-	
+
 	RawSendNet(QString("JOIN_ROOM%1%2").arg(delimeter).arg(room));
 	isChief = false;
 }
@@ -179,7 +179,7 @@
 void HWNewNet::displayError(QAbstractSocket::SocketError socketError)
 {
 	emit Disconnected();
-	
+
 	switch (socketError) {
 		case QAbstractSocket::RemoteHostClosedError:
 			break;
@@ -305,7 +305,7 @@
 		}
 		return;
 	}
-	
+
 	if (lst[0] == "NOT_READY") {
 		if(lst.size() < 2)
 		{
@@ -363,7 +363,7 @@
 			qWarning("Net: Bad JOINED message");
 			return;
 		}
-		
+
 		for(int i = 1; i < lst.size(); ++i)
 		{
 			if (lst[i] == mynick)
@@ -386,7 +386,7 @@
 			qWarning("Net: Bad JOINED message");
 			return;
 		}
-		
+
 		for(int i = 1; i < lst.size(); ++i)
 		{
 			if (lst[i] == mynick)