QTfrontend/hwform.cpp
changeset 7679 bfa26daad684
parent 7636 10caa79d4a80
child 7710 fd5bcbd698a5
--- a/QTfrontend/hwform.cpp	Sun Sep 09 11:50:34 2012 +0400
+++ b/QTfrontend/hwform.cpp	Sun Sep 09 13:40:02 2012 +0400
@@ -1621,9 +1621,11 @@
 
 void HWForm::UpdateCampaignPageProgress(int index)
 {
-  int missionIndex = ui.pageCampaign->CBMission->currentIndex();
-  UpdateCampaignPage(0);
-  ui.pageCampaign->CBMission->setCurrentIndex(missionIndex);
+    Q_UNUSED(index);
+
+    int missionIndex = ui.pageCampaign->CBMission->currentIndex();
+    UpdateCampaignPage(0);
+    ui.pageCampaign->CBMission->setCurrentIndex(missionIndex);
 }
 
 // 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]