summaryrefslogtreecommitdiffstats
path: root/core/divecomputer.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-10-27 17:48:04 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-27 12:42:21 -0700
commitbc11097dedd456506013caba5e886a0df4c74ead (patch)
treeae16d5eb1e048ed3bfadcebd462402657b4cd999 /core/divecomputer.cpp
parent6d78e63d19e4aed9b25a720ee8c6fdac450be289 (diff)
downloadsubsurface-bc11097dedd456506013caba5e886a0df4c74ead.tar.gz
Cleanup: move common code into TankItem::createBar() function
Calculation of the x-position and the width of the tank-bar was done outside of the function. Move it into the function to make the caller a bit more readable. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/divecomputer.cpp')
0 files changed, 0 insertions, 0 deletions