equal
deleted
inserted
replaced
126 void HWForm::UpdateWeapons() |
126 void HWForm::UpdateWeapons() |
127 { |
127 { |
128 // FIXME: rewrite this with boost (or TR1/0x) |
128 // FIXME: rewrite this with boost (or TR1/0x) |
129 QVector<QComboBox*> combos; |
129 QVector<QComboBox*> combos; |
130 combos.push_back(ui.pageOptions->WeaponsName); |
130 combos.push_back(ui.pageOptions->WeaponsName); |
|
131 combos.push_back(ui.pageSimpleGame->gameCFG->WeaponsName); |
131 combos.push_back(ui.pageMultiplayer->gameCFG->WeaponsName); |
132 combos.push_back(ui.pageMultiplayer->gameCFG->WeaponsName); |
132 combos.push_back(ui.pageNetGame->pGameCFG->WeaponsName); |
133 combos.push_back(ui.pageNetGame->pGameCFG->WeaponsName); |
133 |
134 |
134 for(QVector<QComboBox*>::iterator it=combos.begin(); it!=combos.end(); ++it) { |
135 for(QVector<QComboBox*>::iterator it=combos.begin(); it!=combos.end(); ++it) { |
135 (*it)->clear(); |
136 (*it)->clear(); |