More fixes. Using player name as base for game name now. Removing games which have no players left. Check collision of all player names on connect (kind of slow, but name needs to be unique).

This commit is contained in:
lotodore committed 2007-08-21 17:27:13 +00:00
1 parent 3e4b134faa
commit 3a2f3255af
10 files changed
+120 -15

No files matched your search

@@ -32,8 +32,8 @@ startNetworkGameDialogImpl::startNetworkGameDialogImpl(QWidget *parent, ConfigFi
connect( pushButton_Kick, SIGNAL( clicked() ), this, SLOT( kickPlayer() ) );
connect( treeWidget, SIGNAL( itemClicked ( QTreeWidgetItem*, int) ), this, SLOT( playerSelected(QTreeWidgetItem*, int) ) );
pushButton_Kick->setEnabled(FALSE);
pushButton_startGame->setEnabled(FALSE);
pushButton_Kick->setEnabled(false);
pushButton_startGame->setEnabled(false);
}
void startNetworkGameDialogImpl::startGame() {