diff options
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.cpp | 11 | ||||
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.h | 1 |
2 files changed, 0 insertions, 12 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()); diff --git a/desktop-widgets/tab-widgets/maintab.h b/desktop-widgets/tab-widgets/maintab.h index fd46c318c..094f3d053 100644 --- a/desktop-widgets/tab-widgets/maintab.h +++ b/desktop-widgets/tab-widgets/maintab.h @@ -97,7 +97,6 @@ slots: void toggleTriggeredColumn(); void updateTextLabels(bool showUnits = true); void escDetected(void); - void setCurrentLocationIndex(); EditMode getEditMode() const; private: Ui::MainTab ui; |