diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-09-20 12:03:09 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-23 11:49:30 -0700 |
commit | 77a5c9ac65d25000a64cf48fb2138c302cb0b116 (patch) | |
tree | 5159f2a6b9e83571b55c820babde5c99769c13c1 /core/pref.h | |
parent | 5b37d87e2d63453443f25623abeb47aab765aaec (diff) | |
download | subsurface-77a5c9ac65d25000a64cf48fb2138c302cb0b116.tar.gz |
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>
Diffstat (limited to 'core/pref.h')
-rw-r--r-- | core/pref.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/pref.h b/core/pref.h index 4db6d0e40..b36c46091 100644 --- a/core/pref.h +++ b/core/pref.h @@ -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; |