aboutsummaryrefslogtreecommitdiffstats
path: root/core/trip.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-07-29 17:19:50 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-07-30 08:02:05 -0700
commitf16a7c262eabfbfd4c70f866d8ee11b8ebda4269 (patch)
treead03945eb84e99a4fec6a75a69a2fa5243fecdbe /core/trip.h
parent15c524804a59316a745b1364e23b52bc086858cd (diff)
downloadsubsurface-f16a7c262eabfbfd4c70f866d8ee11b8ebda4269.tar.gz
cleanup: unify the ProfileWidget2::shouldCalculateMax* variables
The shouldCalcluateMaxTime and shouldCalculateMaxDepth member variables of ProfileWidget2 are set to false during drag-mode to avoid strange shrinking of the graph. They always adopt the same value. Therefore, replace by a single shouldCalculateMax boolean. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/trip.h')
0 files changed, 0 insertions, 0 deletions