QTfrontend/ui/dialog/input_ip.cpp
branchwebgl
changeset 8833 c13ebed437cb
parent 8609 3f6c08223aa1
child 9080 9b42757d7e71
--- a/QTfrontend/ui/dialog/input_ip.cpp	Wed Feb 20 02:21:58 2013 +0100
+++ b/QTfrontend/ui/dialog/input_ip.cpp	Tue Apr 02 21:00:57 2013 +0200
@@ -23,6 +23,7 @@
 #include <QLabel>
 
 #include "input_ip.h"
+#include "hwconsts.h"
 
 HWHostPortDialog::HWHostPortDialog(QWidget* parent) : QDialog(parent)
 {
@@ -66,5 +67,5 @@
 
 void HWHostPortDialog::setDefaultPort()
 {
-    sbPort->setValue(46631);
+    sbPort->setValue(NETGAME_DEFAULT_PORT);
 }