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 <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-06-20 06:45:12 -07:00
parent 70d4421cd0
commit de35c88683
7 changed files with 40 additions and 10 deletions

View file

@ -458,6 +458,8 @@ void MainWindow::closeCurrentFile()
free((void *)existing_filename);
existing_filename = NULL;
reset_min_datafile_version();
cleanUpEmpty();
mark_divelist_changed(false);