From 7a9214575e4b8124995fb6e8edf2895a19f4170d Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 4 May 2020 18:07:56 -0500 Subject: 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. --- desktop-widgets/tab-widgets/TabDiveInformation.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'desktop-widgets/tab-widgets') 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; -- cgit v1.2.3-70-g09d2