login fix
This commit is contained in:
@@ -99,8 +99,8 @@ startWindowImpl::startWindowImpl(ConfigFile *c)
|
|||||||
|
|
||||||
connect( actionStart_Local_Game, SIGNAL( triggered() ), this, SLOT( callNewGameDialog() ) );
|
connect( actionStart_Local_Game, SIGNAL( triggered() ), this, SLOT( callNewGameDialog() ) );
|
||||||
connect( pushButtonStart_Local_Game, SIGNAL( clicked() ), this, SLOT( callNewGameDialog() ) );
|
connect( pushButtonStart_Local_Game, SIGNAL( clicked() ), this, SLOT( callNewGameDialog() ) );
|
||||||
connect( actionInternet_Game, SIGNAL( triggered() ), this, SLOT( showInternetGameLoginDialog() ) );
|
connect( actionInternet_Game, SIGNAL( triggered() ), this, SLOT( joinGameLobby() ) );
|
||||||
connect( pushButtonInternet_Game, SIGNAL( clicked() ), this, SLOT( showInternetGameLoginDialog() ) );
|
connect( pushButtonInternet_Game, SIGNAL( clicked() ), this, SLOT( joinGameLobby() ) );
|
||||||
connect( actionCreate_Network_Game, SIGNAL( triggered() ), this, SLOT( callCreateNetworkGameDialog() ) );
|
connect( actionCreate_Network_Game, SIGNAL( triggered() ), this, SLOT( callCreateNetworkGameDialog() ) );
|
||||||
connect( pushButton_Create_Network_Game, SIGNAL( clicked() ), this, SLOT( callCreateNetworkGameDialog() ) );
|
connect( pushButton_Create_Network_Game, SIGNAL( clicked() ), this, SLOT( callCreateNetworkGameDialog() ) );
|
||||||
connect( actionJoin_Network_Game, SIGNAL( triggered() ), this, SLOT( callJoinNetworkGameDialog() ) );
|
connect( actionJoin_Network_Game, SIGNAL( triggered() ), this, SLOT( callJoinNetworkGameDialog() ) );
|
||||||
@@ -306,15 +306,14 @@ void startWindowImpl::joinGameLobby() {
|
|||||||
mySession->terminateNetworkClient();
|
mySession->terminateNetworkClient();
|
||||||
if (myServerGuiInterface)
|
if (myServerGuiInterface)
|
||||||
myServerGuiInterface->getSession()->terminateNetworkServer();
|
myServerGuiInterface->getSession()->terminateNetworkServer();
|
||||||
myGameLobbyDialog->setSession(getSession());
|
|
||||||
myStartNetworkGameDialog->setSession(getSession());
|
myGameLobbyDialog->setSession(getSession());
|
||||||
|
myStartNetworkGameDialog->setSession(getSession());
|
||||||
|
|
||||||
// Clear Lobby dialog.
|
// Clear Lobby dialog.
|
||||||
myGameLobbyDialog->clearDialog();
|
myGameLobbyDialog->clearDialog();
|
||||||
|
|
||||||
showInternetGameLoginDialog();
|
showInternetGameLoginDialog();
|
||||||
// Start client for dedicated server.
|
|
||||||
// mySession->startInternetClient();
|
|
||||||
|
|
||||||
//Dialog mit Statusbalken
|
//Dialog mit Statusbalken
|
||||||
myConnectToServerDialog->exec();
|
myConnectToServerDialog->exec();
|
||||||
|
|||||||
Reference in New Issue
Block a user