QTfrontend/newnetclient.cpp
changeset 448 e968e19a464c
parent 444 e3aaa862a28e
child 453 4b1236759402
equal deleted inserted replaced
447:570224bb8b30 448:e968e19a464c
   282 }
   282 }
   283 
   283 
   284 void HWNewNet::RunGame()
   284 void HWNewNet::RunGame()
   285 {
   285 {
   286   HWGame* game = new HWGame(config, m_pGameCFGWidget, m_pTeamSelWidget);
   286   HWGame* game = new HWGame(config, m_pGameCFGWidget, m_pTeamSelWidget);
       
   287   connect(game, SIGNAL(GameStateChanged(GameState)), this, SIGNAL(GameStateChanged(GameState)));
   287   connect(game, SIGNAL(SendNet(const QByteArray &)), this, SLOT(SendNet(const QByteArray &)));
   288   connect(game, SIGNAL(SendNet(const QByteArray &)), this, SLOT(SendNet(const QByteArray &)));
   288   connect(this, SIGNAL(FromNet(const QByteArray &)), game, SLOT(FromNet(const QByteArray &)));
   289   connect(this, SIGNAL(FromNet(const QByteArray &)), game, SLOT(FromNet(const QByteArray &)));
   289   connect(this, SIGNAL(LocalCFG(const QString &)), game, SLOT(LocalCFG(const QString &)));
   290   connect(this, SIGNAL(LocalCFG(const QString &)), game, SLOT(LocalCFG(const QString &)));
   290   connect(game, SIGNAL(ErrorMessage(const QString &)), this, SLOT(ShowErrorMessage(const QString &)), Qt::QueuedConnection);
   291   connect(game, SIGNAL(ErrorMessage(const QString &)), this, SLOT(ShowErrorMessage(const QString &)), Qt::QueuedConnection);
   291   game->StartNet();
   292   game->StartNet();