diff options
author | willemferguson <willemferguson@zoology.up.ac.za> | 2019-11-20 20:40:23 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-01-06 07:00:34 +0900 |
commit | b12d0b1840ab46a2aa05d3079f36437bee688f95 (patch) | |
tree | 4aacbc7117bfaa9886804237d54b91b2e8ef032e /desktop-widgets/tab-widgets/TabDiveInformation.h | |
parent | d2cf58e07e64b4e1e6a81f07c2efce38c55be78b (diff) | |
download | subsurface-b12d0b1840ab46a2aa05d3079f36437bee688f95.tar.gz |
desktop UI: small cleanups of salinity code
Added code for string translation.
Added code to improve UI on Windows.
Added some comments to make the code more understandable.
Enable salinity combobox for manually entered dives
Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/tab-widgets/TabDiveInformation.h')
-rw-r--r-- | desktop-widgets/tab-widgets/TabDiveInformation.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/tab-widgets/TabDiveInformation.h b/desktop-widgets/tab-widgets/TabDiveInformation.h index f905bc597..008d40f61 100644 --- a/desktop-widgets/tab-widgets/TabDiveInformation.h +++ b/desktop-widgets/tab-widgets/TabDiveInformation.h @@ -31,6 +31,7 @@ private slots: void on_waterTypeCombo_activated(int index); private: Ui::TabDiveInformation *ui; + bool manualDive; void updateProfile(); int updateSalinityComboIndex(int salinity); void checkDcSalinityOverWritten(); |