Game List is now dynamically updated.

This commit is contained in:
lotodore committed 2007-08-21 19:50:13 +00:00
1 parent 3a2f3255af
commit 388db7c16a
6 files changed
+85 -17

No files matched your search

+2 -3
View File
@@ -816,6 +816,8 @@ void mainWindowImpl::callGameLobbyDialog() {
myGameLobbyDialog->setSession(&getSession());
myGameLobbyDialog->treeWidget_GameList->clear();
myStartNetworkGameDialog->treeWidget->clear();
myStartNetworkGameDialog->setSession(&getSession());
// Just for testing
mySession->startNetworkClientForLocalServer();
@@ -824,9 +826,6 @@ void mainWindowImpl::callGameLobbyDialog() {
if (myGameLobbyDialog->result() == QDialog::Accepted)
{
myStartNetworkGameDialog->setSession(&getSession());
myStartNetworkGameDialog->treeWidget->clear();
showNetworkStartDialog();
}
}