summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/TabDiveInformation.cpp
diff options
context:
space:
mode:
authorGravatar Monty Taylor <mordred@inaugust.com>2020-05-04 18:07:56 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-05 08:25:21 -0700
commit7a9214575e4b8124995fb6e8edf2895a19f4170d (patch)
tree04b6af6d471f7435764369d8210a1814787912ac /desktop-widgets/tab-widgets/TabDiveInformation.cpp
parent95e6792c4fe353441fd1cad8bad8b459b1a37d65 (diff)
downloadsubsurface-7a9214575e4b8124995fb6e8edf2895a19f4170d.tar.gz
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.
Diffstat (limited to 'desktop-widgets/tab-widgets/TabDiveInformation.cpp')
-rw-r--r--desktop-widgets/tab-widgets/TabDiveInformation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop-widgets/tab-widgets/TabDiveInformation.cpp b/desktop-widgets/tab-widgets/TabDiveInformation.cpp
index a0cafd710..87e845511 100644
--- a/desktop-widgets/tab-widgets/TabDiveInformation.cpp
+++ b/desktop-widgets/tab-widgets/TabDiveInformation.cpp
@@ -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;