mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: remove unnecessary Q_UNUSED macros
Also remove the UNUSED() macro, as there were no users left. The macro was silly anyway - there were many falso positives. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
5960fb7340
commit
4d183637d0
5 changed files with 8 additions and 19 deletions
|
@ -259,9 +259,8 @@ void TabDiveInformation::updateUi(QString titleColor)
|
|||
}
|
||||
|
||||
// From the index of the water type combo box, set the dive->salinity to an appropriate value
|
||||
void TabDiveInformation::on_waterTypeCombo_activated(int index)
|
||||
void TabDiveInformation::on_waterTypeCombo_activated(int)
|
||||
{
|
||||
Q_UNUSED(index)
|
||||
int combobox_salinity = 0;
|
||||
int dc_salinity = parent.currentDive->salinity;
|
||||
switch(ui->waterTypeCombo->currentIndex()) {
|
||||
|
@ -410,9 +409,8 @@ void TabDiveInformation::on_watertemp_editingFinished()
|
|||
divesEdited(Command::editWaterTemp(parseTemperatureToMkelvin(ui->watertemp->text()), false));
|
||||
}
|
||||
|
||||
void TabDiveInformation::on_atmPressType_currentIndexChanged(int index)
|
||||
void TabDiveInformation::on_atmPressType_currentIndexChanged(int)
|
||||
{
|
||||
Q_UNUSED(index)
|
||||
updateTextBox(COMBO_CHANGED);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue