summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/locationinformation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/locationinformation.cpp b/desktop-widgets/locationinformation.cpp
index e5e14fadb..d935c4145 100644
--- a/desktop-widgets/locationinformation.cpp
+++ b/desktop-widgets/locationinformation.cpp
@@ -184,7 +184,7 @@ void LocationInformationWidget::acceptChanges()
MainWindow::instance()->setApplicationState("Default");
MapWidget::instance()->endGetDiveCoordinates();
MapWidget::instance()->repopulateLabels();
- MultiFilterSortModel::instance()->stopFilterDiveSite();
+ MultiFilterSortModel::instance()->stopFilterDiveSites();
}
void LocationInformationWidget::initFields(dive_site *ds)
@@ -195,7 +195,7 @@ void LocationInformationWidget::initFields(dive_site *ds)
updateLabels();
enableLocationButtons(dive_site_has_gps_location(ds));
QSortFilterProxyModel *m = qobject_cast<QSortFilterProxyModel *>(ui.diveSiteListView->model());
- MultiFilterSortModel::instance()->startFilterDiveSite(ds);
+ MultiFilterSortModel::instance()->startFilterDiveSites(QVector<dive_site *>{ ds });
if (m)
m->invalidate();
} else {