diff options
Diffstat (limited to 'qt-ui/globe.cpp')
-rw-r--r-- | qt-ui/globe.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp index 244edf672..e74e4d107 100644 --- a/qt-ui/globe.cpp +++ b/qt-ui/globe.cpp @@ -242,10 +242,8 @@ void GlobeGPS::reload() repopulateLabels(); } -void GlobeGPS::centerOnDiveSite(uint32_t uuid) +void GlobeGPS::centerOnDiveSite(struct dive_site *ds) { - struct dive_site *ds = get_dive_site_by_uuid(uuid); - if (!dive_site_has_gps_location(ds)) { zoomOutForNoGPS(); return; |