diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-01-11 07:29:29 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-11 07:29:29 -0800 |
commit | bccbdf8264cd86890f0719e10e665a73b062e96e (patch) | |
tree | 88be8912c13ddf70de0ae694ccaef447703b4352 /qt-ui/downloadfromdivecomputer.h | |
parent | e219bc70f863eaaa9b81ba5abc240975a128c904 (diff) | |
download | subsurface-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