diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-07-28 21:26:59 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-11 16:22:27 -0700 |
commit | 6ac4ddbeeda5286faacac9633b622dcf298eea7b (patch) | |
tree | 93a3e8ad8388e18866477168688a6162a469e9e0 /qt-models | |
parent | 43c3885249fb867e7c33c8b3b5846d44e908774f (diff) | |
download | subsurface-6ac4ddbeeda5286faacac9633b622dcf298eea7b.tar.gz |
Core: introduce insert_trip_dont_merge() function
insert_trip() adds a trip to the backend, but merges trips if
there exists a trip with the same date. This is a disaster
for the MergeTrips command, because this command adds a new
trip and removes the previous two. Of course if the added trip
is merged, this cannot work.
Therefore, add an insert_trip_dont_merge() function, which
adds the trip, but doesn't merge.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models')
0 files changed, 0 insertions, 0 deletions