From 46074ebf215506e53059ff41eeb1355f8cb2ee1f Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Sun, 24 Apr 2016 21:11:16 +0300 Subject: [PATCH] Add DAN DL7 file extensions for import UI Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- desktop-widgets/mainwindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index a86901f98..fe8e90591 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -1792,8 +1792,8 @@ 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 (*.ssrf *.can *.csv *.db *.sql *.dld *.jlb *.lvd *.sde *.udcf *.uddf *.xml *.txt *.dlf *.apd" - "*.SSRF *.CAN *.CSV *.DB *.SQL *.DLD *.JLB *.LVD *.SDE *.UDCF *.UDDF *.xml *.TXT *.DLF *.APD);;" + tr("Dive log files (*.ssrf *.can *.csv *.db *.sql *.dld *.jlb *.lvd *.sde *.udcf *.uddf *.xml *.txt *.dlf *.apd *.zxu *.zxl" + "*.SSRF *.CAN *.CSV *.DB *.SQL *.DLD *.JLB *.LVD *.SDE *.UDCF *.UDDF *.xml *.TXT *.DLF *.APD *.ZXU *.ZXL);;" "Cochran files (*.can *.CAN);;" "CSV files (*.csv *.CSV);;" "DiveLog.de files (*.dld *.DLD);;" @@ -1807,6 +1807,7 @@ void MainWindow::on_actionImportDiveLog_triggered() "APD log viewer (*.apd *.APD);;" "Datatrak/WLog Files (*.log *.LOG);;" "OSTCtools Files (*.dive *.DIVE);;" + "DAN DL7 (*.zxu *.zxl *.ZXU *.ZXL);;" "All files (*)")); if (fileNames.isEmpty())