summaryrefslogtreecommitdiffstats
path: root/qt-ui/locationinformation.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2015-06-01 22:39:54 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-01 21:36:36 -0700
commitee9746c622e84ed8385c8bbd0e6ffa61f4c813a4 (patch)
tree0e47dd36d6293e4132eaad9b601cb2a2e403db0a /qt-ui/locationinformation.cpp
parent9dc32de878fa86c9aa575b5a4938b0e1bfdf57bf (diff)
downloadsubsurface-ee9746c622e84ed8385c8bbd0e6ffa61f4c813a4.tar.gz
Remove unused method
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/locationinformation.cpp')
-rw-r--r--qt-ui/locationinformation.cpp9
1 files changed, 0 insertions, 9 deletions
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);