summaryrefslogtreecommitdiffstats
path: root/profile-widget/divetooltipitem.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-11-15 20:16:02 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-11-16 08:29:53 -0800
commit12c7c5ea961bcdc866dbf6ce121c428d43c3730b (patch)
treeda2c5a001b75464af814151b3c6534e4633921d8 /profile-widget/divetooltipitem.h
parent808316f4342dff72fd79cfadf3cc01e41237c65e (diff)
downloadsubsurface-12c7c5ea961bcdc866dbf6ce121c428d43c3730b.tar.gz
Cleanup: move clearing of current_dive into clear_dive_file_data()
It makes no sense to have a non-NULL current_dive once all dives have been deleted. Therefore, clear current_dive implicitly in clear_dive_file_data() and don't depend on the caller performing this. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/divetooltipitem.h')
0 files changed, 0 insertions, 0 deletions