diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-07-19 19:26:59 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-11 16:22:27 -0700 |
commit | 61467ea0d59b04f141a68452ee16c70760421d72 (patch) | |
tree | 6232d18a2c513bac988bbcb7ec262d0e96ed15a0 /profile-widget/profilewidget2.cpp | |
parent | 403dd5a8918d4acab33cdd0a400570003244ca5e (diff) | |
download | subsurface-61467ea0d59b04f141a68452ee16c70760421d72.tar.gz |
Cleanup: let MainTab::updateDiveSite() take dive * instead of id
Both callers have a dive * and transform that into an id,
the callee transforms it right back to the dive *. Simply pass
the dive directly. This will allow us to use the function for
dives that have not yet been added.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/profilewidget2.cpp')
0 files changed, 0 insertions, 0 deletions