QTfrontend/gameuiconfig.cpp
changeset 578 6b0af3860192
parent 555 0376fdcc6322
child 603 d7877468653b
equal deleted inserted replaced
577:57b91a5cb547 578:6b0af3860192
    41 	Form->ui.pageNet->editIP->setText(value("net/ip", "").toString());
    41 	Form->ui.pageNet->editIP->setText(value("net/ip", "").toString());
    42 
    42 
    43 	Form->ui.pageOptions->CBShowFPS->setChecked(value("fps/show", false).toBool());
    43 	Form->ui.pageOptions->CBShowFPS->setChecked(value("fps/show", false).toBool());
    44 	Form->ui.pageOptions->fpsedit->setValue(value("fps/interval", 27).toUInt());
    44 	Form->ui.pageOptions->fpsedit->setValue(value("fps/interval", 27).toUInt());
    45 
    45 
    46 	Form->ui.pageOptions->CBAltDamage->setChecked(value("misc/altdamage", true).toBool());
    46 	Form->ui.pageOptions->CBAltDamage->setChecked(value("misc/altdamage", false).toBool());
    47 }
    47 }
    48 
    48 
    49 QStringList GameUIConfig::GetTeamsList()
    49 QStringList GameUIConfig::GetTeamsList()
    50 {
    50 {
    51 	QStringList teamslist = cfgdir->entryList(QStringList("*.cfg"));
    51 	QStringList teamslist = cfgdir->entryList(QStringList("*.cfg"));