diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2014-01-03 14:49:17 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-09 09:27:00 +0800 |
commit | 6719e45704d8694d845bc4e8bc3970e21bdab23b (patch) | |
tree | 642465a7672a20e6b362075d2bd8889d8993c0eb /qt-ui/printdialog.cpp | |
parent | 7771158c82c0d9da51d417e9c0a2d69c9dce4818 (diff) | |
download | subsurface-6719e45704d8694d845bc4e8bc3970e21bdab23b.tar.gz |
Maintab: prevent a segfault in the 'Equipment' tab
When a dive contains no cylinders, clicking the '+'
button could SIGSEGV if current_dive->dc.model is NULL.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/printdialog.cpp')
0 files changed, 0 insertions, 0 deletions