changeset 4598 | 7cb8c9db6e8d |
parent 4416 | 29d2d1548387 |
child 4976 | 088d40d8aba2 |
4596:3bf748d3bec7 | 4598:7cb8c9db6e8d |
---|---|
267 |
267 |
268 QStringList SelWeaponWidget::getWeaponNames() const |
268 QStringList SelWeaponWidget::getWeaponNames() const |
269 { |
269 { |
270 return wconf->allKeys(); |
270 return wconf->allKeys(); |
271 } |
271 } |
272 |
|
273 void SelWeaponWidget::copy() |
|
274 { |
|
275 QString ammo = getWeaponsString(curWeaponsName); |
|
276 setWeaponsName(tr("copy of") + " " + curWeaponsName); |
|
277 setWeapons(ammo); |
|
278 } |