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 <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-05-11 10:38:50 -07:00
parent 698b2b133f
commit ebaa7d1fd0
2 changed files with 73 additions and 4 deletions

View file

@ -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;