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