summaryrefslogtreecommitdiffstats
path: root/qt-ui/divepicturewidget.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-06-03 14:51:47 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-03 16:39:06 -0700
commitf53b5c4d3f5bcf396d9abaa72f0be31a3d5512dc (patch)
tree608d1592ac9cd7b7006f4e640c33c77678940b22 /qt-ui/divepicturewidget.h
parent58f2613daeabeb3f7470d4e26af7a7ad75624d5e (diff)
downloadsubsurface-f53b5c4d3f5bcf396d9abaa72f0be31a3d5512dc.tar.gz
Fix linked list corruption, move code to C.
The picture list is a single linked list where the pictures have a node to their next element. When adding the same picture to two dives, things got way way wrong and crashes were appearing. This will replicate the information (filename, latitude and longitude) for each dive that has the picture, BUT it still tries to save as much as possible on the actual pixmap. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divepicturewidget.h')
0 files changed, 0 insertions, 0 deletions