QTfrontend/model/ammoSchemeModel.cpp
branch0.9.21
changeset 10721 9b789de8e5df
parent 10549 6b08a29cadea
child 10727 5f34d3341fc1
equal deleted inserted replaced
10719:dd5e2427b3b2 10721:9b789de8e5df
   843         return QVariant();
   843         return QVariant();
   844 
   844 
   845     return netScheme[index.column()];
   845     return netScheme[index.column()];
   846 }
   846 }
   847 
   847 
   848 void NetAmmoSchemeModel::setNetSchemeConfig(QStringList & cfg)
   848 void NetAmmoSchemeModel::setNetSchemeConfig(QStringList cfg)
   849 {
   849 {
   850     if(cfg.size() != netScheme.size())
   850     if(cfg.size() != netScheme.size())
   851     {
   851     {
   852         qWarning("Incorrect scheme cfg size");
   852         qWarning("Incorrect scheme cfg size");
   853         return;
   853         return;