QTfrontend/ui/page/pagenetserver.cpp
changeset 8609 3f6c08223aa1
parent 6952 7f70f37bbf08
child 8747 878aa4c92424
equal deleted inserted replaced
8608:50cc0131b109 8609:3f6c08223aa1
    24 #include <QLabel>
    24 #include <QLabel>
    25 #include <QLineEdit>
    25 #include <QLineEdit>
    26 #include <QSpinBox>
    26 #include <QSpinBox>
    27 
    27 
    28 #include "pagenetserver.h"
    28 #include "pagenetserver.h"
       
    29 #include "hwconsts.h"
    29 
    30 
    30 QLayout * PageNetServer::bodyLayoutDefinition()
    31 QLayout * PageNetServer::bodyLayoutDefinition()
    31 {
    32 {
    32     QVBoxLayout * pageLayout = new QVBoxLayout();
    33     QVBoxLayout * pageLayout = new QVBoxLayout();
    33 
    34 
    93     initPage();
    94     initPage();
    94 }
    95 }
    95 
    96 
    96 void PageNetServer::setDefaultPort()
    97 void PageNetServer::setDefaultPort()
    97 {
    98 {
    98     sbPort->setValue(46631);
    99     sbPort->setValue(NETGAME_DEFAULT_PORT);
    99 }
   100 }