QTfrontend/newnetclient.cpp
changeset 338 d1e75dcd285f
parent 335 751348947fce
child 339 7535ab6c3820
--- a/QTfrontend/newnetclient.cpp	Sun Jan 14 21:51:17 2007 +0000
+++ b/QTfrontend/newnetclient.cpp	Sun Jan 14 23:13:24 2007 +0000
@@ -104,7 +104,7 @@
 
 void HWNewNet::OnDisconnect()
 {
-  emit ChangeInTeams(QStringList());
+  //emit ChangeInTeams(QStringList());
   emit Disconnected();
 }
 
@@ -145,9 +145,9 @@
     return;
   }
 
-  if (lst[0] == "TEAMCHANGED") {
+  if (lst[0] == "ADDTEAM:") {
     lst.pop_front();
-    emit ChangeInTeams(lst);
+    emit AddNetTeam(lst[0]);
     return;
   }