mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
7f70802b90
commit
130f4cd7ac
4 changed files with 12 additions and 1 deletions
|
@ -879,7 +879,9 @@ void DiveReportedCeiling::modelDataChanged(const QModelIndex &topLeft, const QMo
|
|||
|
||||
void DiveCalculatedCeiling::recalc()
|
||||
{
|
||||
#ifndef SUBSURFACE_MOBILE
|
||||
dataModel->calculateDecompression();
|
||||
#endif
|
||||
}
|
||||
|
||||
void DiveCalculatedCeiling::settingsChanged()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue