QTfrontend/selectWeapon.cpp
changeset 682 a37b6966de84
parent 681 7a20c50988ec
child 683 57d624f71e65
equal deleted inserted replaced
681:7a20c50988ec 682:a37b6966de84
    84   return it==weaponItems.end() ? 9 : it->second->getItemsNum();
    84   return it==weaponItems.end() ? 9 : it->second->getItemsNum();
    85 }
    85 }
    86 
    86 
    87 QString SelWeaponWidget::getWeaponsString() const
    87 QString SelWeaponWidget::getWeaponsString() const
    88 {
    88 {
    89   QString ammo("eammstore ");
    89   QString ammo;
    90   for(int i=0; i<20; ++i) {
    90   for(int i=0; i<20; ++i) {
    91     ammo=QString("%1%2").arg(ammo).arg((*this)[i]);
    91     ammo += (*this)[i];
    92   }
    92   }
    93   return ammo;
    93   return ammo;
    94 }
    94 }