From 076f86202aab51529d99f73427a1a834a0ef5d34 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 16 Jul 2015 12:41:04 -0700 Subject: Change API signature to act on dive_site, not uuid This way in the future we can pass in a pointer to a dive site that isn't linked in our dive site list yet (i.e., while we are editing). Signed-off-by: Dirk Hohndel --- qt-ui/modeldelegates.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/modeldelegates.cpp') diff --git a/qt-ui/modeldelegates.cpp b/qt-ui/modeldelegates.cpp index a3978ce54..7089289aa 100644 --- a/qt-ui/modeldelegates.cpp +++ b/qt-ui/modeldelegates.cpp @@ -533,7 +533,7 @@ void LocationFilterDelegate::paint(QPainter *painter, const QStyleOptionViewItem #ifndef NO_MARBLE if ((option.state & QStyle::State_HasFocus) && dive_site_has_gps_location(ds)) { qDebug() << "center on" << ds->name; - MainWindow::instance()->globe()->centerOnDiveSite(ds->uuid); + MainWindow::instance()->globe()->centerOnDiveSite(ds); } #endif -- cgit v1.2.3-70-g09d2