login fix

This commit is contained in:
doitux
2009-09-27 15:41:06 +00:00
parent d0d831a4f6
commit 2a2254ad0b
+5 -6
View File
@@ -99,8 +99,8 @@ startWindowImpl::startWindowImpl(ConfigFile *c)
connect( actionStart_Local_Game, SIGNAL( triggered() ), this, SLOT( callNewGameDialog() ) );
connect( pushButtonStart_Local_Game, SIGNAL( clicked() ), this, SLOT( callNewGameDialog() ) );
connect( actionInternet_Game, SIGNAL( triggered() ), this, SLOT( showInternetGameLoginDialog() ) );
connect( pushButtonInternet_Game, SIGNAL( clicked() ), this, SLOT( showInternetGameLoginDialog() ) );
connect( actionInternet_Game, SIGNAL( triggered() ), this, SLOT( joinGameLobby() ) );
connect( pushButtonInternet_Game, SIGNAL( clicked() ), this, SLOT( joinGameLobby() ) );
connect( actionCreate_Network_Game, SIGNAL( triggered() ), this, SLOT( callCreateNetworkGameDialog() ) );
connect( pushButton_Create_Network_Game, SIGNAL( clicked() ), this, SLOT( callCreateNetworkGameDialog() ) );
connect( actionJoin_Network_Game, SIGNAL( triggered() ), this, SLOT( callJoinNetworkGameDialog() ) );
@@ -306,15 +306,14 @@ void startWindowImpl::joinGameLobby() {
mySession->terminateNetworkClient();
if (myServerGuiInterface)
myServerGuiInterface->getSession()->terminateNetworkServer();
myGameLobbyDialog->setSession(getSession());
myStartNetworkGameDialog->setSession(getSession());
myGameLobbyDialog->setSession(getSession());
myStartNetworkGameDialog->setSession(getSession());
// Clear Lobby dialog.
myGameLobbyDialog->clearDialog();
showInternetGameLoginDialog();
// Start client for dedicated server.
// mySession->startInternetClient();
//Dialog mit Statusbalken
myConnectToServerDialog->exec();