QTfrontend/netudpwidget.cpp
changeset 664 f0af2401f981
parent 638 e1cc516488f2
child 665 5c7bfc8bac6a
--- a/QTfrontend/netudpwidget.cpp	Sat Dec 15 18:04:56 2007 +0000
+++ b/QTfrontend/netudpwidget.cpp	Sat Dec 15 18:58:55 2007 +0000
@@ -32,7 +32,7 @@
 
 void HWNetUdpWidget::updateList()
 {
-  serversList->clear();
+//  serversList->clear();
   pUdpSocket->writeDatagram("hedgewars client", QHostAddress::Broadcast, 46631);
 }
 
@@ -45,7 +45,7 @@
     quint16 clientPort;
     pUdpSocket->readDatagram(datagram.data(), datagram.size(), &clientAddr, &clientPort);
     if(QString("%1").arg(datagram.data())==QString("hedgewars server")) {
-      serversList->addItem(clientAddr.toString());
+//      serversList->addItem(clientAddr.toString());
     }
   }
 }