diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2016-02-06 08:36:42 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-02-06 06:14:15 -0800 |
commit | dd53411550b0c4e9385e4848b3e9f5bda27d7490 (patch) | |
tree | a531bc5459b0093be1c092ae01ee3d6df50f0d55 /subsurface-mobile-main.cpp | |
parent | a4ec5206017b668842d2b9b317300b94dcb43057 (diff) | |
download | subsurface-dd53411550b0c4e9385e4848b3e9f5bda27d7490.tar.gz |
Mobile: always show divecomputer reported ceiling in red
We do not not want to do decompress model calculations in the mobile app
(see 130f4cd7ac5b), but we do want to see the divecomputer reported
ceiling (in red). The latter is fixed here.
Ticket #1006
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-mobile-main.cpp')
-rw-r--r-- | subsurface-mobile-main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp index df25e81dc..7ed3e4256 100644 --- a/subsurface-mobile-main.cpp +++ b/subsurface-mobile-main.cpp @@ -62,6 +62,11 @@ int main(int argc, char **argv) init_ui(); loadPreferences(); prefs.animation_speed = 0; + + /* always show the divecomputer reported ceiling in red */ + prefs.dcceiling = 1; + prefs.redceiling = 1; + init_proxy(); if (no_filenames) { if (prefs.default_file_behavior == LOCAL_DEFAULT_FILE) { |