aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/divelogimportdialog.cpp
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2016-04-11 11:39:59 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-11 12:23:49 -0700
commitb3b43e0140806790798b23dba7013828dca97a48 (patch)
tree2ec06b2ecd10fdabe78257abc858ee970f130741 /qt-ui/divelogimportdialog.cpp
parent7e15c2a7ad89430e023d9bae9250d7a42f8ab4e9 (diff)
downloadsubsurface-b3b43e0140806790798b23dba7013828dca97a48.tar.gz
Fix dive computer copying
When copying a dive, we need to copy all the dive computers, but the first one is special since it is embedded inside the "struct dive". We had special case code for that case, but it only copied the samples and events. Use the proper "copy_dc()" for the primary dive computer copying too, which gets all the details right. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelogimportdialog.cpp')
0 files changed, 0 insertions, 0 deletions