Fixed nasty GUI update bug in game list. Fixed compiler warning.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user