aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/divelogimportdialog.cpp
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2016-04-07 15:06:44 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-18 20:09:58 -0700
commit15d07a879e71ad8cefce6fe1972ed0ab6d27d52d (patch)
tree608d67c22bb618364d7d9b1126888526cc85424f /qt-ui/divelogimportdialog.cpp
parentb3b43e0140806790798b23dba7013828dca97a48 (diff)
downloadsubsurface-15d07a879e71ad8cefce6fe1972ed0ab6d27d52d.tar.gz
Fix time of first ceiling calculation
In our verision of VPM-B for real dives, we take as the deco time the difference between the time of the deepest ceiling and the time when the ceiling clears. When the display of ceilings was set to multiples of 3m this was confused, as the maximum finder had issues: First of all, it updated the time when the ceiling was the same (which was almost always the case for stepped ceilings) but changing >= to > was not enough, since then the first time a deepest stepped ceiling was reached was used. This patch uses the actual ceiling (not rounded to the next integer multiple of 3m) for this calculation to get rid of this problem. Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'qt-ui/divelogimportdialog.cpp')
0 files changed, 0 insertions, 0 deletions