summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-07-08 18:45:20 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-09 08:34:00 -0700
commitdbc33cb81a606146f609ba2f8699c6a4c13fe4ce (patch)
tree8c5f2143def21a81cf4ec6a9935b6061a28105c2 /qt-ui/maintab.h
parent0054304cc84578309427a73e5b7d3199b786df10 (diff)
downloadsubsurface-dbc33cb81a606146f609ba2f8699c6a4c13fe4ce.tar.gz
Correctly save the tags on the dive.
Very good patch, lots of removed lines. :) Only try to add the tags when user accepts, discards the test to see if the tags were changed or not, delete the old list and copy the new one always. only bug that's appearing now: taglist is still empty after save we need to reselect the dive to make it appear, fixing that on the next patch. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> 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, 0 insertions, 1 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h
index 3eb5596fa..1493d6d97 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -102,7 +102,6 @@ private:
bool modified;
void resetPallete();
void saveTags();
- bool tagsChanged(struct dive *a, struct dive *b);
void updateGpsCoordinates(const struct dive *dive);
void markChangedWidget(QWidget *w);
};