QTfrontend/ui/page/pagenetserver.cpp
changeset 8609 3f6c08223aa1
parent 6952 7f70f37bbf08
child 8747 878aa4c92424
--- a/QTfrontend/ui/page/pagenetserver.cpp	Thu Feb 28 22:47:42 2013 +0100
+++ b/QTfrontend/ui/page/pagenetserver.cpp	Thu Feb 28 22:59:22 2013 +0100
@@ -26,6 +26,7 @@
 #include <QSpinBox>
 
 #include "pagenetserver.h"
+#include "hwconsts.h"
 
 QLayout * PageNetServer::bodyLayoutDefinition()
 {
@@ -95,5 +96,5 @@
 
 void PageNetServer::setDefaultPort()
 {
-    sbPort->setValue(46631);
+    sbPort->setValue(NETGAME_DEFAULT_PORT);
 }