--- 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());
}
}
}