diff --git a/src/gui/qt/startwindow/startwindowimpl.cpp b/src/gui/qt/startwindow/startwindowimpl.cpp index 6e9a2923..c8b7db3b 100644 --- a/src/gui/qt/startwindow/startwindowimpl.cpp +++ b/src/gui/qt/startwindow/startwindowimpl.cpp @@ -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();