summaryrefslogtreecommitdiffstats
path: root/divelist.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-24 13:18:30 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-24 13:18:30 -0700
commita05e37188b5197f04b2cb68cf2df49994a758362 (patch)
tree8b483d32fda42bc4fc1c28d604510cef5b5586be /divelist.h
parent7e7dcb2451e02a3c9dc0c314feeef9a68c625b5a (diff)
downloadsubsurface-a05e37188b5197f04b2cb68cf2df49994a758362.tar.gz
QML UI: make sure the dive list is empty before loading dives
When testing subsurface-mobile on the desktop from an account that had a default file set up in the Subsurface preferences that file would already be loaded creating rather confusing output. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divelist.h')
-rw-r--r--divelist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/divelist.h b/divelist.h
index 04f26f68a..bc3fd1af1 100644
--- a/divelist.h
+++ b/divelist.h
@@ -47,6 +47,7 @@ extern void set_dive_nr_for_current_dive();
int get_min_datafile_version();
void reset_min_datafile_version();
void report_datafile_version(int version);
+void clear_dive_file_data();
#ifdef DEBUG_TRIP
extern void dump_selection(void);