diff options
author | John Van Ostrand <john@vanostrand.com> | 2014-11-07 11:30:44 -0500 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-07 13:15:38 -0800 |
commit | 8136306911328b9899a526671daf03ad03abb107 (patch) | |
tree | d56d4e9f657d192e5866404e5c08b27c041ced19 /qt-ui | |
parent | 09e8adf54eac5159b393b9a09799663060c01db1 (diff) | |
download | subsurface-8136306911328b9899a526671daf03ad03abb107.tar.gz |
Added import for Liquivision LVD log files
Support includes cylinder pressures and works for v3.0 log files.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/mainwindow.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 8a72bc898..3b74c86ad 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -727,7 +727,8 @@ QString MainWindow::filter() QString f; f += "ALL ( *.ssrf *.xml *.XML *.uddf *.udcf *.UDFC *.jlb *.JLB "; f += "*.sde *.SDE *.dld *.DLD "; - f += "*.db *.can"; + f += "*.db *.can "; + f += "*.lvd "; f += ");;"; f += "Subsurface (*.ssrf);;"; @@ -739,7 +740,8 @@ QString MainWindow::filter() f += "SDE (*.sde *.SDE);;"; f += "DLD (*.dld *.DLD);;"; f += "DB (*.db);;"; - f += "CAN (*.can)"; + f += "CAN (*.can);;"; + f += "LVD (*.lvd)"; return f; } @@ -1249,7 +1251,7 @@ void MainWindow::loadFiles(const QStringList fileNames) void MainWindow::on_actionImportDiveLog_triggered() { QStringList fileNames = QFileDialog::getOpenFileNames(this, tr("Open dive log file"), lastUsedDir(), - tr("Dive log files (*.xml *.uddf *.udcf *.csv *.jlb *.dld *.sde *.db *.can);;" + tr("Dive log files (*.xml *.uddf *.udcf *.csv *.jlb *.dld *.sde *.db *.can *.lvd);;" "XML files (*.xml);;UDDF/UDCF files(*.uddf *.udcf);;JDiveLog files(*.jlb);;" "Suunto files(*.sde *.db);;CSV files(*.csv);;MkVI files(*.txt);;All files(*)")); |