mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
desktop UI: treat an unknown salinity as that
We were royally confused when we didn't know the salinity value (e.g., if the dive computer didn't provide that information). We somehow treated this as the same as wanting to use the salinity information in the dive computer. Which makes no sense. While cleaning this up, this also adds the textual representations of the water types as a string list that corresponds to the enum values that we use - this way it's easier to stay consistent. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c0bb04994b
commit
1e4cc49f83
2 changed files with 18 additions and 12 deletions
|
@ -43,6 +43,7 @@ private:
|
|||
void divesEdited(int);
|
||||
void closeWarning();
|
||||
void showCurrentWidget(bool show, int position);
|
||||
QStringList waterTypes;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue