subsurface/desktop-widgets/tab-widgets
Berthold Stoeger 0aef04352a Map: zoom on dive sites when flipping through dive site list
The dive site list was connected to centerOnDiveSite(). Apparently,
the currently selected dive site should have been shown in the map.
Yet, this never worked, because the actual dive site of the selected
dive had precedence in centerOnDiveSite().

It seems that centerOnDiveSite() had actually to purposes:
1) center on the passed in dive site
2) center on the dive sites of the selected dives

Therefore, split this function in two separate functions for
each of these use-cases. This allows us to remove some pre-processor
magic (mobile vs. desktop) and to remove a parameter from the
MainTab::diveSiteChanged() signal.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2018-10-08 13:29:51 -07:00
..
maintab.cpp Map: zoom on dive sites when flipping through dive site list 2018-10-08 13:29:51 -07:00
maintab.h Map: zoom on dive sites when flipping through dive site list 2018-10-08 13:29:51 -07:00
maintab.ui
TabBase.cpp
TabBase.h
TabDiveExtraInfo.cpp
TabDiveExtraInfo.h
TabDiveExtraInfo.ui
TabDiveInformation.cpp Dive information: fix surface interval calculation 2018-10-07 05:41:48 +03:00
TabDiveInformation.h
TabDiveInformation.ui
TabDivePhotos.cpp
TabDivePhotos.h
TabDivePhotos.ui
TabDiveStatistics.cpp Statistics: un-globalize stats_selection 2018-10-07 17:50:51 +03:00
TabDiveStatistics.h
TabDiveStatistics.ui