summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-10-08 16:24:41 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-11 16:25:32 -0700
commitac02854a8aa98dcd6876c9249654ac9e1d949c92 (patch)
tree1d21a1196973b099bbe70daf3d2a87128923eacd /.clang-format
parentdd44dc4ab8fb888dcb3046ae5ecca2b24fe9e44f (diff)
downloadsubsurface-ac02854a8aa98dcd6876c9249654ac9e1d949c92.tar.gz
Map: don't access displayed_dive_site in reloadMapLocations()
MapWidgetHelper::reloadMapLocations() reloads all dive flags of the non-hidden dives plus the one of the currently edited dive. Use the current_dive macro to determine whether this is the current dive site instead of the global displayed_dive_site object. This is part of a series of commits, which makes the map-code independent of the global displayed_dive_site object. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions