Move from 'connecting' page to lobby only when account checked
authorunc0rr
Wed, 25 Feb 2009 17:18:12 +0000
changeset 1842 96a4757dfeb8
parent 1841 fba7210b438b
child 1843 16cdd1745b73
Move from 'connecting' page to lobby only when account checked
QTfrontend/newnetclient.cpp
--- a/QTfrontend/newnetclient.cpp	Wed Feb 25 17:12:32 2009 +0000
+++ b/QTfrontend/newnetclient.cpp	Wed Feb 25 17:18:12 2009 +0000
@@ -228,7 +228,6 @@
 		RawSendNet(QString("PROTO%1%2").arg(delimeter).arg(*cProtoVer));
 		netClientState = 1;
 		m_game_connected = true;
-		emit Connected();
 		return;
 	}
 
@@ -376,6 +375,7 @@
 			{
 				netClientState = 2;
 				RawSendNet(QString("LIST"));
+				emit Connected();
 			}
 
 			emit nickAddedLobby(lst[i]);