diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-06-20 06:45:12 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-20 06:45:12 -0700 |
commit | de35c886837016c80fc65043d8a2f0b373efec5b (patch) | |
tree | 87eaf634a88f557d88d9580d5b5ad759f9e1ceeb /qt-ui | |
parent | 70d4421cd0ab235ee4f37ed7f8b6ad863da703bb (diff) | |
download | subsurface-de35c886837016c80fc65043d8a2f0b373efec5b.tar.gz |
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>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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); |