mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
95e6792c4f
commit
7a9214575e
5 changed files with 11 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue