QTfrontend/ui/dialog/input_ip.cpp
branchwebgl
changeset 8833 c13ebed437cb
parent 8609 3f6c08223aa1
child 9080 9b42757d7e71
equal deleted inserted replaced
8450:404ddce27b23 8833:c13ebed437cb
    21 #include <QPushButton>
    21 #include <QPushButton>
    22 #include <QGridLayout>
    22 #include <QGridLayout>
    23 #include <QLabel>
    23 #include <QLabel>
    24 
    24 
    25 #include "input_ip.h"
    25 #include "input_ip.h"
       
    26 #include "hwconsts.h"
    26 
    27 
    27 HWHostPortDialog::HWHostPortDialog(QWidget* parent) : QDialog(parent)
    28 HWHostPortDialog::HWHostPortDialog(QWidget* parent) : QDialog(parent)
    28 {
    29 {
    29     QGridLayout * layout = new QGridLayout(this);
    30     QGridLayout * layout = new QGridLayout(this);
    30 
    31 
    64     this->setWindowModality(Qt::WindowModal);
    65     this->setWindowModality(Qt::WindowModal);
    65 }
    66 }
    66 
    67 
    67 void HWHostPortDialog::setDefaultPort()
    68 void HWHostPortDialog::setDefaultPort()
    68 {
    69 {
    69     sbPort->setValue(46631);
    70     sbPort->setValue(NETGAME_DEFAULT_PORT);
    70 }
    71 }