some settingsdialog fixes. lobby changes

This commit is contained in:
doitux
2007-08-26 08:02:07 +00:00
parent a4a62597ca
commit 1246a68c84
5 changed files with 154 additions and 40 deletions
@@ -64,6 +64,11 @@ void createInternetGameDialogImpl::fillFormular() {
//temporarely unused until ai is enabled in network
spinBox_gameSpeed->setValue(myConfig->readConfigInt("NetGameSpeed"));
spinBox_netTimeOutPlayerAction->setValue(myConfig->readConfigInt("NetTimeOutPlayerAction"));
checkBox_Password->setChecked(myConfig->readConfigInt("UseInternetGamePassword"));
if(myConfig->readConfigInt("UseInternetGamePassword")) {
lineEdit_Password->setText(QString::fromUtf8(myConfig->readConfigString("InternetGamePassword").c_str()));
}
}
void createInternetGameDialogImpl::showDialog() {