equal
deleted
inserted
replaced
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 } |