From 5d1c30acbf9dc220728fa9c04603d45c75f3f3b2 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 12 Oct 2018 09:01:04 +0200 Subject: Cleanup: remove unused function MainTab::showLocation() The last caller was removed way back in 266e754d08499a4ed45024d4886c4e799e7951e7. Signed-off-by: Berthold Stoeger --- desktop-widgets/tab-widgets/maintab.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'desktop-widgets/tab-widgets/maintab.cpp') 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); -- cgit v1.2.3-70-g09d2