From b12d0b1840ab46a2aa05d3079f36437bee688f95 Mon Sep 17 00:00:00 2001 From: willemferguson Date: Wed, 20 Nov 2019 20:40:23 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- desktop-widgets/tab-widgets/TabDiveInformation.h | 1 + 1 file changed, 1 insertion(+) (limited to 'desktop-widgets/tab-widgets/TabDiveInformation.h') 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(); -- cgit v1.2.3-70-g09d2