From dd53411550b0c4e9385e4848b3e9f5bda27d7490 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Sat, 6 Feb 2016 08:36:42 +0100 Subject: 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 Signed-off-by: Dirk Hohndel --- subsurface-mobile-main.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'subsurface-mobile-main.cpp') 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) { -- cgit v1.2.3-70-g09d2