equal
deleted
inserted
replaced
1939 { |
1939 { |
1940 ui.pageCampaign->CBMission->setCurrentIndex(i); |
1940 ui.pageCampaign->CBMission->setCurrentIndex(i); |
1941 break; |
1941 break; |
1942 } |
1942 } |
1943 } |
1943 } |
|
1944 int i = ui.pageCampaign->CBCampaign->currentIndex(); |
|
1945 QString campaignName = ui.pageCampaign->CBCampaign->currentText().replace(QString(" "),QString("_")); |
|
1946 HWTeam team(ui.pageCampaign->CBTeam->currentText()); |
|
1947 QString tName = team.name(); |
|
1948 if(isCampWon(campaignName, tName)) |
|
1949 ui.pageCampaign->CBCampaign->setItemIcon(i, finishedIcon); |
|
1950 else |
|
1951 ui.pageCampaign->CBCampaign->setItemIcon(i, QIcon()); |
1944 } |
1952 } |
1945 |
1953 |
1946 // used for --set-everything [screen width] [screen height] [color dept] [volume] [enable music] [enable sounds] [language file] [full screen] [show FPS] [alternate damage] [timer value] [reduced quality] |
1954 // used for --set-everything [screen width] [screen height] [color dept] [volume] [enable music] [enable sounds] [language file] [full screen] [show FPS] [alternate damage] [timer value] [reduced quality] |
1947 QString HWForm::getDemoArguments() |
1955 QString HWForm::getDemoArguments() |
1948 { |
1956 { |