QTfrontend/hwform.cpp
changeset 11951 b05db9ca6e1c
parent 11950 3792a9f9fa9c
child 11955 d72a177dbaea
equal deleted inserted replaced
11950:3792a9f9fa9c 11951:b05db9ca6e1c
  1881     ui.pageCampaign->CBMission->clear();
  1881     ui.pageCampaign->CBMission->clear();
  1882 
  1882 
  1883     for(int i=0;i<campaignMissionInfo.size();i++)
  1883     for(int i=0;i<campaignMissionInfo.size();i++)
  1884     {
  1884     {
  1885         ui.pageCampaign->CBMission->addItem(QString(campaignMissionInfo[i].name), QString(campaignMissionInfo[i].name));
  1885         ui.pageCampaign->CBMission->addItem(QString(campaignMissionInfo[i].name), QString(campaignMissionInfo[i].name));
       
  1886         if(isMissionWon(campaignName, i, tName))
       
  1887             ui.pageCampaign->CBMission->setItemIcon(i, finishedIcon);
       
  1888         else
       
  1889             ui.pageCampaign->CBMission->setItemIcon(i, QIcon());
  1886     }
  1890     }
  1887 }
  1891 }
  1888 
  1892 
  1889 void HWForm::UpdateCampaignPageTeam(int index)
  1893 void HWForm::UpdateCampaignPageTeam(int index)
  1890 {
  1894 {