summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-15 15:40:27 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-15 15:44:15 -0700
commit542e04266d016c35e688e69d382204b7cefc3711 (patch)
treebd2759666ee898ac85153c2d25d2dc5142b23dff /qt-ui/maintab.h
parenteb9f07c7891a509e0d7cd97a9d2cd5ca0b77e188 (diff)
downloadsubsurface-542e04266d016c35e688e69d382204b7cefc3711.tar.gz
Dive site handling: correctly handle the different scenarios
- do not create dive sites unless the user has accepted the changes - all modification are tracked in the displayed_dive_site - when the user accepts the changes, the real dive site list (and the selected dives) are updated according to what is in the displayed_dive_site This adds quite verbose debugging messages and disables a section of code that has a special case for data created by the Subsurface web service. This code needs some re-thinking and should eventually go away. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.h')
-rw-r--r--qt-ui/maintab.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h
index bcfb3340e..f70cfe542 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -123,6 +123,7 @@ private:
bool acceptingEdit;
LocationManagementEditHelper *locationManagementEditHelper;
void updateDisplayedDiveSite();
+ void updateDiveSite(int divenr);
};
#endif // MAINTAB_H