QTfrontend/gameuiconfig.cpp
changeset 8609 3f6c08223aa1
parent 8434 4821897a0f10
child 8799 44e520374cfc
--- a/QTfrontend/gameuiconfig.cpp	Thu Feb 28 22:47:42 2013 +0100
+++ b/QTfrontend/gameuiconfig.cpp	Thu Feb 28 22:59:22 2013 +0100
@@ -130,10 +130,10 @@
 
     delete netHost;
     netHost = new QString(value("net/ip", "").toString());
-    netPort = value("net/port", 46631).toUInt();
+    netPort = value("net/port", NETGAME_DEFAULT_PORT).toUInt();
 
     Form->ui.pageNetServer->leServerDescr->setText(value("net/servername", "hedgewars server").toString());
-    Form->ui.pageNetServer->sbPort->setValue(value("net/serverport", 46631).toUInt());
+    Form->ui.pageNetServer->sbPort->setValue(value("net/serverport", NETGAME_DEFAULT_PORT).toUInt());
 
     Form->ui.pageOptions->CBShowFPS->setChecked(value("fps/show", false).toBool());
     Form->ui.pageOptions->fpsedit->setValue(value("fps/limit", 27).toUInt());