summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Sander Kleijwegt <sander@myowndomain.nl>2015-08-28 21:53:36 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-28 16:13:50 -0700
commit10d0604297ab70f7da5017bb754f73016b2efeb7 (patch)
tree2f1b5bd7cab152ce4ff52d3d1ca7fb9ec65d4879 /qt-ui/maintab.cpp
parentd5aacd092dd7bb7dbe937c300071f6369a967a4c (diff)
downloadsubsurface-10d0604297ab70f7da5017bb754f73016b2efeb7.tar.gz
Fix crash when creating a dive site without any dives in logbook.
A divesite uuid is created using the timestamp of the currently selected dive. When there is no current_dive, use the current time to create a uuid. Signed-off-by: Sander Kleijwegt <sander@myowndomain.nl> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
0 files changed, 0 insertions, 0 deletions