QTfrontend/gameuiconfig.cpp
changeset 13085 23a498a2b5b8
parent 12242 76fa467b6833
child 13394 24b531dcebe7
child 13633 d5e029b84e16
equal deleted inserted replaced
13084:81c154fd4380 13085:23a498a2b5b8
   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