summaryrefslogtreecommitdiffstats
path: root/qt-ui
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
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')
-rw-r--r--qt-ui/locationinformation.cpp9
-rw-r--r--qt-ui/locationinformation.h1
2 files changed, 0 insertions, 10 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);
diff --git a/qt-ui/locationinformation.h b/qt-ui/locationinformation.h
index 0dcae9d7f..445451197 100644
--- a/qt-ui/locationinformation.h
+++ b/qt-ui/locationinformation.h
@@ -21,7 +21,6 @@ public slots:
void enableEdition();
void resetState();
void resetPallete();
- void setCurrentDiveSiteByIndex(int dive_nr);
void on_diveSiteCoordinates_textChanged(const QString& text);
void on_diveSiteDescription_textChanged(const QString& text);
void on_diveSiteName_textChanged(const QString& text);