equal
deleted
inserted
replaced
128 setNetPasswordLength(passLength); |
128 setNetPasswordLength(passLength); |
129 } |
129 } |
130 |
130 |
131 delete netHost; |
131 delete netHost; |
132 netHost = new QString(value("net/ip", "").toString()); |
132 netHost = new QString(value("net/ip", "").toString()); |
133 netPort = value("net/port", 46631).toUInt(); |
133 netPort = value("net/port", NETGAME_DEFAULT_PORT).toUInt(); |
134 |
134 |
135 Form->ui.pageNetServer->leServerDescr->setText(value("net/servername", "hedgewars server").toString()); |
135 Form->ui.pageNetServer->leServerDescr->setText(value("net/servername", "hedgewars server").toString()); |
136 Form->ui.pageNetServer->sbPort->setValue(value("net/serverport", 46631).toUInt()); |
136 Form->ui.pageNetServer->sbPort->setValue(value("net/serverport", NETGAME_DEFAULT_PORT).toUInt()); |
137 |
137 |
138 Form->ui.pageOptions->CBShowFPS->setChecked(value("fps/show", false).toBool()); |
138 Form->ui.pageOptions->CBShowFPS->setChecked(value("fps/show", false).toBool()); |
139 Form->ui.pageOptions->fpsedit->setValue(value("fps/limit", 27).toUInt()); |
139 Form->ui.pageOptions->fpsedit->setValue(value("fps/limit", 27).toUInt()); |
140 |
140 |
141 Form->ui.pageOptions->CBAltDamage->setChecked(value("misc/altdamage", false).toBool()); |
141 Form->ui.pageOptions->CBAltDamage->setChecked(value("misc/altdamage", false).toBool()); |