From 5cb20ee4c91932ac44960bc21af6f0bbec823e6c Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Sun, 28 Dec 2014 09:58:50 +0200 Subject: Add .dlf to known extensions (Divesoft) Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'qt-ui') diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 4e1f8f2f9..72ece9ace 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -775,6 +775,7 @@ QString MainWindow::filter() f += "*.udcf *.UDCF "; f += "*.uddf *.UDDF "; f += "*.xml *.XML "; + f += "*.dlf *.DLF "; f += ");;"; f += "Subsurface (*.ssrf);;"; @@ -786,6 +787,7 @@ QString MainWindow::filter() f += "UDCF (*.udcf *.UDCF);;"; f += "UDDF (*.uddf *.UDDF);;"; f += "XML (*.xml *.XML)"; + f += "Divesoft (*.dlf *.DLF)"; return f; } @@ -1304,7 +1306,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 (*.can *.csv *.db *.dld *.jlb *.lvd *.sde *.udcf *.uddf *.xml *.txt);;" + tr("Dive log files (*.can *.csv *.db *.dld *.jlb *.lvd *.sde *.udcf *.uddf *.xml *.txt *.dlf);;" "Cochran files (*.can);;" "CSV files (*.csv);;" "DiveLog.de files (*.dld);;" @@ -1312,6 +1314,7 @@ void MainWindow::on_actionImportDiveLog_triggered() "Liquivision files (*.lvd);;" "MkVI files (*.txt);;" "Suunto files (*.sde *.db);;" + "Divesoft files (*.dlf);;" "UDDF/UDCF files (*.uddf *.udcf);;" "XML files (*.xml);;" "All files (*)")); -- cgit v1.2.3-70-g09d2