diff options
Diffstat (limited to 'qt-ui/modeldelegates.cpp')
-rw-r--r-- | qt-ui/modeldelegates.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |