From ee9746c622e84ed8385c8bbd0e6ffa61f4c813a4 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 1 Jun 2015 22:39:54 -0300 Subject: Remove unused method Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/locationinformation.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'qt-ui/locationinformation.cpp') diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp index fe00bf514..75faf87d6 100644 --- a/qt-ui/locationinformation.cpp +++ b/qt-ui/locationinformation.cpp @@ -32,15 +32,6 @@ LocationInformationWidget::LocationInformationWidget(QWidget *parent) : QGroupBo connect(this, SIGNAL(stopFilterDiveSite()), MultiFilterSortModel::instance(), SLOT(stopFilterDiveSite())); } -void LocationInformationWidget::setCurrentDiveSiteByIndex(int dive_nr) -{ - currentDs = get_dive_site(dive_nr); - if (currentDs) - setCurrentDiveSiteByUuid(currentDs->uuid); - else - setCurrentDiveSiteByUuid(displayed_dive.dive_site_uuid); -} - void LocationInformationWidget::setCurrentDiveSiteByUuid(uint32_t uuid) { currentDs = get_dive_site_by_uuid(uuid); -- cgit v1.2.3-70-g09d2