equal
deleted
inserted
replaced
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 { |