equal
deleted
inserted
replaced
1921 |
1921 |
1922 void HWForm::UpdateCampaignPageProgress(int index) |
1922 void HWForm::UpdateCampaignPageProgress(int index) |
1923 { |
1923 { |
1924 Q_UNUSED(index); |
1924 Q_UNUSED(index); |
1925 |
1925 |
1926 int missionIndex = ui.pageCampaign->CBMission->currentIndex(); |
1926 QString missionTitle = ui.pageCampaign->CBMission->currentText(); |
1927 UpdateCampaignPage(0); |
1927 UpdateCampaignPage(0); |
1928 ui.pageCampaign->CBMission->setCurrentIndex(missionIndex); |
1928 for(int i=0;i<ui.pageCampaign->CBMission->count();i++) |
|
1929 { |
|
1930 if (ui.pageCampaign->CBMission->itemText(i)==missionTitle) |
|
1931 { |
|
1932 ui.pageCampaign->CBMission->setCurrentIndex(i); |
|
1933 break; |
|
1934 } |
|
1935 } |
1929 } |
1936 } |
1930 |
1937 |
1931 // 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] |
1938 // 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] |
1932 QString HWForm::getDemoArguments() |
1939 QString HWForm::getDemoArguments() |
1933 { |
1940 { |