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 <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-02-05 20:45:18 -08:00
parent 7f70802b90
commit 130f4cd7ac
4 changed files with 12 additions and 1 deletions

View file

@ -879,7 +879,9 @@ void DiveReportedCeiling::modelDataChanged(const QModelIndex &topLeft, const QMo
void DiveCalculatedCeiling::recalc()
{
#ifndef SUBSURFACE_MOBILE
dataModel->calculateDecompression();
#endif
}
void DiveCalculatedCeiling::settingsChanged()