summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-10-13 08:40:31 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-13 21:41:41 -0400
commitf0e349cdd68c259f07fd5867d8360cd8d65d50ef (patch)
tree4604ca69a9cda599d0c09544e1282ffc3f9c2880 /desktop-widgets/tab-widgets
parentebd6d4fc45f32527b6d8d45cd670453d925546dc (diff)
downloadsubsurface-f0e349cdd68c259f07fd5867d8360cd8d65d50ef.tar.gz
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 <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/tab-widgets')
-rw-r--r--desktop-widgets/tab-widgets/maintab.cpp2
1 files changed, 0 insertions, 2 deletions
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);