summaryrefslogtreecommitdiffstats
path: root/qt-ui/downloadfromdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-11 07:29:29 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-11 07:29:29 -0800
commitbccbdf8264cd86890f0719e10e665a73b062e96e (patch)
tree88be8912c13ddf70de0ae694ccaef447703b4352 /qt-ui/downloadfromdivecomputer.h
parente219bc70f863eaaa9b81ba5abc240975a128c904 (diff)
downloadsubsurface-bccbdf8264cd86890f0719e10e665a73b062e96e.tar.gz
Don't use current_dc unless you know there's a current_dive
This will crash if for some reason current_dive is invalid. And in general, when displaying information, we want to use the correct dc in the displayed_dive, not the current_dc, which references the current_dive... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.h')
0 files changed, 0 insertions, 0 deletions