From 0f56a1e4bf0437d907d70af5228244c26e21b400 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Sat, 25 Feb 2017 13:14:47 +0100 Subject: [PATCH] Add 4 file types op file-open logbook menu filter, consistency 4 file types (that are very rarely used), did showup in the import-import dive logs menu (e.g. the file filter), but were missing from file-open logbook file type filter. Just added them to the file-open part to be more consistent. Signed-off-by: Jan Mulder --- desktop-widgets/mainwindow.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index ea873e9c3..5bba49c57 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -1235,6 +1235,11 @@ QString MainWindow::filter() f += "*.uddf *.UDDF "; f += "*.xml *.XML "; f += "*.dlf *.DLF "; + f += "*.log *.LOG "; + f += "*.txt *.TXT) "; + f += "*.apd *.APD) "; + f += "*.dive *.DIVE "; + f += "*.zxu *.zxl *.ZXU *.ZXL "; f += ");;"; f += "Subsurface (*.ssrf);;"; @@ -1247,7 +1252,11 @@ QString MainWindow::filter() f += "UDDF (*.uddf *.UDDF);;"; f += "XML (*.xml *.XML);;"; f += "Divesoft (*.dlf *.DLF);;"; - f += "Datatrak/WLog Files (*.log *.LOG)"; + f += "Datatrak/WLog Files (*.log *.LOG);;"; + f += "MkVI files (*.txt *.TXT);;"; + f += "APD log viewer (*.apd *.APD);;"; + f += "OSTCtools Files (*.dive *.DIVE);;"; + f += "DAN DL7 (*.zxu *.zxl *.ZXU *.ZXL)"; return f; }