aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/maintab.cpp
diff options
context:
space:
mode:
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());