diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-02-05 20:45:18 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-02-05 20:45:18 -0800 |
commit | 130f4cd7ac5b27f5d8243b5c238a66c86f2604ba (patch) | |
tree | e77bc243dc0d80da8b5fabc7482212a4ada305a7 /qt-models/diveplotdatamodel.h | |
parent | 7f70802b9025421d25ba63a9fe9932474ac1748c (diff) | |
download | subsurface-130f4cd7ac5b27f5d8243b5c238a66c86f2604ba.tar.gz |
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>
Diffstat (limited to 'qt-models/diveplotdatamodel.h')
-rw-r--r-- | qt-models/diveplotdatamodel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-models/diveplotdatamodel.h b/qt-models/diveplotdatamodel.h index 6a1f9bd16..21b0ffd5b 100644 --- a/qt-models/diveplotdatamodel.h +++ b/qt-models/diveplotdatamodel.h @@ -83,7 +83,9 @@ public: double po2Max(); double CCRMax(); void emitDataChanged(); +#ifndef SUBSURFACE_MOBILE void calculateDecompression(); +#endif private: struct plot_info pInfo; |