mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
d2cf58e07e
commit
b12d0b1840
3 changed files with 19 additions and 11 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue