@@ -237,7 +237,7 @@ GeneralPage::GeneralPage(Scoring* _scoring, ScoringDialog* _dialog, QWidget* par
237
237
connect (nameEdit, SIGNAL (editingFinished ()), this , SLOT (nameChanged ()));
238
238
connect (decimalPlacesEdit, SIGNAL (editingFinished ()), this , SLOT (decimalPlacesChanged ()));
239
239
}
240
- void GeneralPage::checkToggled (bool checked)
240
+ void GeneralPage::checkToggled (bool /* checked*/ )
241
241
{
242
242
if (scoring->getCustomCategories () != customCategoriesCheck->isChecked ())
243
243
dialog->setCustomCategories (customCategoriesCheck->isChecked ());
@@ -608,7 +608,7 @@ void ScoringCalculationPage::handicapRemoveClicked()
608
608
609
609
updateHandicapWidgets ();
610
610
}
611
- void ScoringCalculationPage::currentHandicapChanged (QListWidgetItem* current, QListWidgetItem* previous)
611
+ void ScoringCalculationPage::currentHandicapChanged (QListWidgetItem* current, QListWidgetItem* /* previous*/ )
612
612
{
613
613
updateHandicapWidgets ();
614
614
@@ -768,7 +768,7 @@ void ScoringCalculationPage::timePointCellChanged(int row, int column)
768
768
item->setText (number.toString ());
769
769
react_to_changes = true ;
770
770
}
771
- void ScoringCalculationPage::timePointCurrentCellChanged (int current_row, int current_column, int previous_row, int previous_column)
771
+ void ScoringCalculationPage::timePointCurrentCellChanged (int current_row, int /* current_column*/ , int /* previous_row*/ , int /* previous_column*/ )
772
772
{
773
773
timePointRemove->setEnabled (current_row != 0 );
774
774
}
@@ -783,7 +783,7 @@ void ScoringCalculationPage::setCustomCategories(bool enable)
783
783
rulesetList->setCurrentRow (0 );
784
784
}
785
785
}
786
- void ScoringCalculationPage::rulesetChanged (QListWidgetItem* current, QListWidgetItem* previous)
786
+ void ScoringCalculationPage::rulesetChanged (QListWidgetItem* current, QListWidgetItem* /* previous*/ )
787
787
{
788
788
Ruleset* ruleset = static_cast <Ruleset*>(current->data (Qt::UserRole).value <void *>());
789
789
react_to_changes = false ;
@@ -911,7 +911,7 @@ void ScoringCalculationPage::rulesetRenamed(QListWidgetItem* item)
911
911
dialog->rulesetsChanged ();
912
912
}
913
913
914
- void ScoringCalculationPage::ruleTypeChanged (bool checked)
914
+ void ScoringCalculationPage::ruleTypeChanged (bool /* checked*/ )
915
915
{
916
916
if (!react_to_changes) return ;
917
917
@@ -921,7 +921,7 @@ void ScoringCalculationPage::ruleTypeChanged(bool checked)
921
921
getCurrentRuleset ()->rule_type = static_cast <RuleType>(id);
922
922
}
923
923
924
- void ScoringCalculationPage::formulaNumberChanged (int i )
924
+ void ScoringCalculationPage::formulaNumberChanged (int /* i */ )
925
925
{
926
926
if (!react_to_changes) return ;
927
927
getCurrentRuleset ()->timeRatioSettings .formulaNumber = ratioButtonGroup->checkedId ();
@@ -1250,7 +1250,7 @@ void AdjustCategoriesPage::deleteCategoryClicked()
1250
1250
scoring->deleteCustomCategory (cat);
1251
1251
delete categoriesList->currentItem ();
1252
1252
}
1253
- void AdjustCategoriesPage::categoryChanged (QListWidgetItem* current, QListWidgetItem* previous)
1253
+ void AdjustCategoriesPage::categoryChanged (QListWidgetItem* /* current*/ , QListWidgetItem* /* previous*/ )
1254
1254
{
1255
1255
react_to_changes = false ;
1256
1256
@@ -1300,7 +1300,7 @@ void AdjustCategoriesPage::sourcesChanged()
1300
1300
}
1301
1301
}
1302
1302
}
1303
- void AdjustCategoriesPage::rulesetChanged (int index)
1303
+ void AdjustCategoriesPage::rulesetChanged (int /* index*/ )
1304
1304
{
1305
1305
if (!react_to_changes) return ;
1306
1306
CustomCategory* cat = getCurrentCategory ();
0 commit comments