summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-12-28 09:58:50 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-28 06:42:43 -0800
commit5cb20ee4c91932ac44960bc21af6f0bbec823e6c (patch)
tree484410c06188b9b4d7aa6afb6959f4857ab4075a /qt-ui
parent6cf33555080f410ad4f9da96be374f7fbb99fdc0 (diff)
downloadsubsurface-5cb20ee4c91932ac44960bc21af6f0bbec823e6c.tar.gz
Add .dlf to known extensions (Divesoft)
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/mainwindow.cpp5
1 files changed, 4 insertions, 1 deletions
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 (*)"));