QTfrontend/hwform.cpp
branch0.9.21
changeset 10733 b22c57f45e86
parent 10727 5f34d3341fc1
child 10756 4846f229b706
child 10803 df39aa3f6d4d
equal deleted inserted replaced
10731:bc359abe0484 10733:b22c57f45e86
  1830     ui.pageNetGame->pNetTeamsWidget->setInteractivity(false);
  1830     ui.pageNetGame->pNetTeamsWidget->setInteractivity(false);
  1831 
  1831 
  1832     if (hwnet)
  1832     if (hwnet)
  1833     {
  1833     {
  1834         NetAmmoSchemeModel * netAmmo = new NetAmmoSchemeModel(hwnet);
  1834         NetAmmoSchemeModel * netAmmo = new NetAmmoSchemeModel(hwnet);
  1835         connect(hwnet, SIGNAL(netSchemeConfig(QStringList &)), netAmmo, SLOT(setNetSchemeConfig(QStringList &)));
  1835         connect(hwnet, SIGNAL(netSchemeConfig(QStringList)), netAmmo, SLOT(setNetSchemeConfig(QStringList)));
  1836 
  1836 
  1837         ui.pageNetGame->pGameCFG->GameSchemes->setModel(netAmmo);
  1837         ui.pageNetGame->pGameCFG->GameSchemes->setModel(netAmmo);
  1838 
  1838 
  1839         ui.pageNetGame->setRoomName(hwnet->getRoom());
  1839         ui.pageNetGame->setRoomName(hwnet->getRoom());
  1840 
  1840 
  1841         ui.pageNetGame->pGameCFG->GameSchemes->view()->disconnect(hwnet);
  1841         ui.pageNetGame->pGameCFG->GameSchemes->view()->disconnect(hwnet);
  1842         connect(hwnet, SIGNAL(netSchemeConfig(QStringList &)),
  1842         connect(hwnet, SIGNAL(netSchemeConfig(QStringList)),
  1843                 this, SLOT(selectFirstNetScheme()));
  1843                 this, SLOT(selectFirstNetScheme()));
  1844     }
  1844     }
  1845 
  1845 
  1846     ui.pageNetGame->setMasterMode(false);
  1846     ui.pageNetGame->setMasterMode(false);
  1847 }
  1847 }