summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);