diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2015-06-01 22:39:54 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-01 21:36:36 -0700 |
commit | ee9746c622e84ed8385c8bbd0e6ffa61f4c813a4 (patch) | |
tree | 0e47dd36d6293e4132eaad9b601cb2a2e403db0a /qt-ui/locationinformation.cpp | |
parent | 9dc32de878fa86c9aa575b5a4938b0e1bfdf57bf (diff) | |
download | subsurface-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.cpp | 9 |
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); |