diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-09-30 00:01:24 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-03 10:01:13 -0700 |
commit | 00abc04913d8aef45be4e30f23d5ebc9914c8d54 (patch) | |
tree | 1a9d51c8680a6edb9278191510278d6ac8a62def /subsurface-helper.cpp | |
parent | 7b196a5ef90ee96435ea762c7045ef47a6811a28 (diff) | |
download | subsurface-00abc04913d8aef45be4e30f23d5ebc9914c8d54.tar.gz |
cleanup: use getDiveSelection() to loop over selected dives
getDiveSelection() returns a vector of the selected dives.
Use that instead of looping over the dive table and checking
manually.
This removes a few lines of code.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'subsurface-helper.cpp')
0 files changed, 0 insertions, 0 deletions