diff options
Diffstat (limited to 'desktop-widgets/locationinformation.cpp')
-rw-r--r-- | desktop-widgets/locationinformation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/locationinformation.cpp b/desktop-widgets/locationinformation.cpp index 6c3c2ccac..69fc330d0 100644 --- a/desktop-widgets/locationinformation.cpp +++ b/desktop-widgets/locationinformation.cpp @@ -237,7 +237,7 @@ void LocationInformationWidget::initFields(dive_site *ds) filter_model.set(0, location_t { degrees_t{ 0 }, degrees_t{ 0 } }); clearLabels(); } - MapWidget::instance()->prepareForGetDiveCoordinates(ds ? ds->uuid : 0); + MapWidget::instance()->prepareForGetDiveCoordinates(ds); } void LocationInformationWidget::markChangedWidget(QWidget *w) |