QTfrontend/gameuiconfig.cpp
branchios-develop
changeset 13413 ba39a1d396c0
parent 13080 23a498a2b5b8
child 13389 24b531dcebe7
child 13628 d5e029b84e16
equal deleted inserted replaced
13411:6e8b807bda4b 13413:ba39a1d396c0
   132 
   132 
   133     delete netHost;
   133     delete netHost;
   134     netHost = new QString(value("net/ip", "").toString());
   134     netHost = new QString(value("net/ip", "").toString());
   135     netPort = value("net/port", NETGAME_DEFAULT_PORT).toUInt();
   135     netPort = value("net/port", NETGAME_DEFAULT_PORT).toUInt();
   136 
   136 
   137     Form->ui.pageNetServer->leServerDescr->setText(value("net/servername", "hedgewars server").toString());
   137     Form->ui.pageNetServer->leServerDescr->setText(value("net/servername", "Hedgewars Server").toString());
   138     Form->ui.pageNetServer->sbPort->setValue(value("net/serverport", NETGAME_DEFAULT_PORT).toUInt());
   138     Form->ui.pageNetServer->sbPort->setValue(value("net/serverport", NETGAME_DEFAULT_PORT).toUInt());
   139 
   139 
   140     Form->ui.pageOptions->CBShowFPS->setChecked(value("fps/show", false).toBool());
   140     Form->ui.pageOptions->CBShowFPS->setChecked(value("fps/show", false).toBool());
   141     Form->ui.pageOptions->fpsedit->setValue(value("fps/limit", 27).toUInt());
   141     Form->ui.pageOptions->fpsedit->setValue(value("fps/limit", 27).toUInt());
   142 
   142