QTfrontend/ui/dialog/input_ip.cpp
changeset 8609 3f6c08223aa1
parent 7795 ba32d3f9e567
child 9080 9b42757d7e71
--- a/QTfrontend/ui/dialog/input_ip.cpp	Thu Feb 28 22:47:42 2013 +0100
+++ b/QTfrontend/ui/dialog/input_ip.cpp	Thu Feb 28 22:59:22 2013 +0100
@@ -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);
 }