From 130f4cd7ac5b27f5d8243b5c238a66c86f2604ba Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 5 Feb 2016 20:45:18 -0800 Subject: Do not run the deco calculations in the mobile app We don't show the calculated ceilings and calculating them is compute intensive. Signed-off-by: Dirk Hohndel --- profile-widget/diveprofileitem.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'profile-widget') diff --git a/profile-widget/diveprofileitem.cpp b/profile-widget/diveprofileitem.cpp index b090d2173..4262326d7 100644 --- a/profile-widget/diveprofileitem.cpp +++ b/profile-widget/diveprofileitem.cpp @@ -879,7 +879,9 @@ void DiveReportedCeiling::modelDataChanged(const QModelIndex &topLeft, const QMo void DiveCalculatedCeiling::recalc() { +#ifndef SUBSURFACE_MOBILE dataModel->calculateDecompression(); +#endif } void DiveCalculatedCeiling::settingsChanged() -- cgit v1.2.3-70-g09d2