equal
deleted
inserted
replaced
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 } |