From f0e349cdd68c259f07fd5867d8360cd8d65d50ef Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 13 Oct 2018 08:40:31 +0200 Subject: Cleanup: remove outdated comment Remove a comment which is outdated in two ways: 1) The global variable "displayed_dive_site" was not used at all. 2) The location box cannot be used to rename dive sites. Signed-off-by: Berthold Stoeger --- desktop-widgets/tab-widgets/maintab.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'desktop-widgets') diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp index a4b9a55ff..179228ea0 100644 --- a/desktop-widgets/tab-widgets/maintab.cpp +++ b/desktop-widgets/tab-widgets/maintab.cpp @@ -693,8 +693,6 @@ uint32_t MainTab::updateDiveSite(uint32_t pickedUuid, dive *d) newDs = get_dive_site_by_uuid(pickedUuid); - // Copy everything from the displayed_dive_site, so we have the latitude, longitude, notes, etc. - // The user *might* be using wrongly the 'choose dive site' just to edit the name of it, sigh. if (origDs) { if(createdNewDive) { copy_dive_site(origDs, newDs); -- cgit v1.2.3-70-g09d2