Fixed nasty GUI update bug in game list. Fixed compiler warning.

This commit is contained in:
lotodore
2007-09-04 17:38:13 +00:00
parent 46fe52aeb7
commit 6e7f2c06fc
3 changed files with 7 additions and 5 deletions
@@ -22,13 +22,14 @@ gameLobbyDialogImpl::gameLobbyDialogImpl(QWidget *parent, ConfigFile *c)
connect( pushButton_CreateGame, SIGNAL( clicked() ), this, SLOT( createGame() ) );
connect( pushButton_JoinGame, SIGNAL( clicked() ), this, SLOT( joinGame() ) );
connect( treeWidget_GameList, SIGNAL( currentItemChanged ( QTreeWidgetItem*, QTreeWidgetItem*) ), this, SLOT( gameSelected(QTreeWidgetItem*, QTreeWidgetItem*) ) );
clearDialog();
}
void gameLobbyDialogImpl::exec()
{
clearDialog();
QDialog::exec();
clearDialog();
}