From de35c886837016c80fc65043d8a2f0b373efec5b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 20 Jun 2015 06:45:12 -0700 Subject: Track minimum datafile version Add infrastructure and helper functions to track minimum datafile version. To make this information useful we need to keep the XML and git data format versions in track moving forward. Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui') diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 0095aaf97..d9a2769c2 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -458,6 +458,8 @@ void MainWindow::closeCurrentFile() free((void *)existing_filename); existing_filename = NULL; + reset_min_datafile_version(); + cleanUpEmpty(); mark_divelist_changed(false); -- cgit v1.2.3-70-g09d2