summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-12-23 16:54:24 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-01-09 20:58:04 -0800
commitfd196f143ae9c6b3a51b057ba134c5e3a280e30f (patch)
tree94771c2f19a602a6bfc43917893a478a65d407b2 /mobile-widgets/qmlmanager.cpp
parent0dfc59f38cf3d75d9c86af51d17bb578b8655f7b (diff)
downloadsubsurface-fd196f143ae9c6b3a51b057ba134c5e3a280e30f.tar.gz
Core: don't copy dive-id on merge dive
The installment of the divelist-undo system has made it unnecessary to adopt the uniq-id of the merged-into dive. On the contrary, we want to avoid two dives with the same dive-id in the divelist at all costs, since get_divenr() still uses the id and thus may fetch the wrong dive. Therefore, don't copy the dive-id on merge. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
0 files changed, 0 insertions, 0 deletions