mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
qPref: add ability to remember recently used dive computers
This does feel clumsy and complicated. This is a lot of special case handling and a lot of boilerplate for something that really should be quite simple. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5b37d87e2d
commit
77a5c9ac65
4 changed files with 167 additions and 20 deletions
|
@ -99,6 +99,10 @@ struct preferences {
|
|||
|
||||
// ********** DiveComputer **********
|
||||
dive_computer_prefs_t dive_computer;
|
||||
dive_computer_prefs_t dive_computer1;
|
||||
dive_computer_prefs_t dive_computer2;
|
||||
dive_computer_prefs_t dive_computer3;
|
||||
dive_computer_prefs_t dive_computer4;
|
||||
|
||||
// ********** Display **********
|
||||
bool display_invalid_dives;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue