cleanup: Change Salty to Brackish

In the code, the difference between SALTYWATER and SALTWATER is hard
to see. More importantly, in the UI - Brackish is the word for water
that has more salt that freshwater but less salt that seawater. The
docs already use the word to clarify what is meant.
This commit is contained in:
Monty Taylor 2020-05-04 18:07:56 -05:00 committed by Dirk Hohndel
parent 95e6792c4f
commit 7a9214575e
5 changed files with 11 additions and 9 deletions

View file

@ -179,7 +179,7 @@ int TabDiveInformation::updateSalinityComboIndex(int salinity)
else if (salinity < 10050)
return FRESHWATER;
else if (salinity < 10190)
return SALTYWATER;
return BRACKISHWATER;
else if (salinity < 10210)
return EN13319WATER;
else
@ -261,8 +261,8 @@ void TabDiveInformation::on_waterTypeCombo_activated(int index) {
case FRESHWATER:
combobox_salinity = FRESHWATER_SALINITY;
break;
case SALTYWATER:
combobox_salinity = 10100;
case BRACKISHWATER:
combobox_salinity = BRACKISH_SALINITY;
break;
case EN13319WATER:
combobox_salinity = EN13319_SALINITY;