mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
code cleanup: avoid unused argument warnings
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4e7adcf96a
commit
c0bb04994b
1 changed files with 6 additions and 1 deletions
|
@ -266,6 +266,7 @@ void TabDiveInformation::updateData()
|
||||||
|
|
||||||
// From the index of the water type combo box, set the dive->salinity to an appropriate value
|
// 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 index) {
|
||||||
|
Q_UNUSED(index)
|
||||||
int combobox_salinity = 0;
|
int combobox_salinity = 0;
|
||||||
int dc_salinity = current_dive->dc.salinity;
|
int dc_salinity = current_dive->dc.salinity;
|
||||||
switch(ui->waterTypeCombo->currentIndex()) {
|
switch(ui->waterTypeCombo->currentIndex()) {
|
||||||
|
@ -397,7 +398,11 @@ void TabDiveInformation::on_watertemp_editingFinished()
|
||||||
if (ui->watertemp->isModified() && current_dive)
|
if (ui->watertemp->isModified() && current_dive)
|
||||||
divesEdited(Command::editWaterTemp(parseTemperatureToMkelvin(ui->watertemp->text()), false));
|
divesEdited(Command::editWaterTemp(parseTemperatureToMkelvin(ui->watertemp->text()), false));
|
||||||
}
|
}
|
||||||
void TabDiveInformation::on_atmPressType_currentIndexChanged(int index) { updateTextBox(COMBO_CHANGED); }
|
|
||||||
|
void TabDiveInformation::on_atmPressType_currentIndexChanged(int index) {
|
||||||
|
Q_UNUSED(index)
|
||||||
|
updateTextBox(COMBO_CHANGED);
|
||||||
|
}
|
||||||
|
|
||||||
void TabDiveInformation::on_atmPressVal_editingFinished() { updateTextBox(TEXT_EDITED); }
|
void TabDiveInformation::on_atmPressVal_editingFinished() { updateTextBox(TEXT_EDITED); }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue