From ebaa7d1fd08fec3371e6448532564ebef6df4f29 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 11 May 2015 10:38:50 -0700 Subject: Multi dive edit: treat buddy and divemaster as tag lists So just like tags do "differential editing". Figure out what (or in this case, who) was added / removed from the displayed dive and do the same for all other selected dives. This does seem a bit over top for divemaster, but this is more consistent and therefore should make more sense to the user - assuming we ever have one who runs into this. Signed-off-by: Dirk Hohndel --- qt-ui/maintab.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui/maintab.h') diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h index 8869b068e..5cff5714f 100644 --- a/qt-ui/maintab.h +++ b/qt-ui/maintab.h @@ -112,6 +112,8 @@ private: bool copyPaste; void resetPallete(); void saveTags(); + void saveTaggedStrings(); + void diffTaggedStrings(QString currentString, QString displayedString, QStringList &addedList, QStringList &removedList); void markChangedWidget(QWidget *w); dive_trip_t *currentTrip; dive_trip_t displayedTrip; -- cgit v1.2.3-70-g09d2