diff options
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.cpp | 8 | ||||
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp index d4c867bfd..31f7f3ff3 100644 --- a/desktop-widgets/tab-widgets/maintab.cpp +++ b/desktop-widgets/tab-widgets/maintab.cpp @@ -369,14 +369,6 @@ bool MainTab::isEditing() return editMode != NONE; } -void MainTab::showLocation() -{ - if (get_dive_site_by_uuid(displayed_dive.dive_site_uuid)) - ui.location->setCurrentDiveSiteUuid(displayed_dive.dive_site_uuid); - else - ui.location->clear(); -} - void MainTab::updateDepthDuration() { ui.depth->setVisible(true); diff --git a/desktop-widgets/tab-widgets/maintab.h b/desktop-widgets/tab-widgets/maintab.h index d644be4e3..f4a5ea105 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 showLocation(); void setCurrentLocationIndex(); EditMode getEditMode() const; private: |