preparation gamelobby slots

This commit is contained in:
doitux
2007-08-29 22:30:18 +00:00
parent 0a255bfff4
commit a84f164b8a
6 changed files with 78 additions and 5 deletions
@@ -37,6 +37,14 @@ startNetworkGameDialogImpl::startNetworkGameDialogImpl(QWidget *parent, ConfigFi
pushButton_startGame->setEnabled(false);
}
void startNetworkGameDialogImpl::exec() {
GameInfo info = mySession->getClientGameInfo("default");
label_maxPlayerNumber->setText(QString::number(info.data.maxNumberOfPlayers));
QDialog::exec();
}
void startNetworkGameDialogImpl::startGame() {
assert(mySession);
mySession->sendStartEvent();