diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-10-27 17:48:04 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-27 12:42:21 -0700 |
commit | bc11097dedd456506013caba5e886a0df4c74ead (patch) | |
tree | ae16d5eb1e048ed3bfadcebd462402657b4cd999 /SupportedDivecomputers.txt | |
parent | 6d78e63d19e4aed9b25a720ee8c6fdac450be289 (diff) | |
download | subsurface-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 'SupportedDivecomputers.txt')
0 files changed, 0 insertions, 0 deletions