aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-02-02 16:53:26 +0100
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2019-02-02 19:35:36 +0200
commit5e2dfd546e1bef5e54bd8fef2e06b1e58f5c176e (patch)
tree6b7ee26465d1efd7b83212fc0d7149842a62718d /desktop-widgets/tab-widgets/maintab.cpp
parent3502afad10055117fa9bb265d344f5e2c5ad7b9a (diff)
downloadsubsurface-5e2dfd546e1bef5e54bd8fef2e06b1e58f5c176e.tar.gz
Cleanup: remove unused function MainTab::setCurrentLocationIndex
The last caller was removed in ce8199cdfdef97437ad85178c7104f307baf018b. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.cpp')
-rw-r--r--desktop-widgets/tab-widgets/maintab.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp
index 4bc7006bf..7882573ba 100644
--- a/desktop-widgets/tab-widgets/maintab.cpp
+++ b/desktop-widgets/tab-widgets/maintab.cpp
@@ -220,17 +220,6 @@ MainTab::~MainTab()
}
}
-void MainTab::setCurrentLocationIndex()
-{
- if (current_dive) {
- struct dive_site *ds = current_dive->dive_site;
- if (ds)
- ui.location->setCurrentDiveSite(ds);
- else
- ui.location->clear();
- }
-}
-
void MainTab::toggleTriggeredColumn()
{
QAction *action = qobject_cast<QAction *>(sender());