mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Divinglog import: add .sql extension for import
Generic divelog might come with the .sql extension, thus adding that to the file filter. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
164cafe5d3
commit
212cc575bf
1 changed files with 3 additions and 2 deletions
|
@ -948,6 +948,7 @@ QString MainWindow::filter()
|
|||
f += "Dive log files ( *.ssrf ";
|
||||
f += "*.can *.CAN ";
|
||||
f += "*.db *.DB " ;
|
||||
f += "*.sql *.SQL " ;
|
||||
f += "*.dld *.DLD ";
|
||||
f += "*.jlb *.JLB ";
|
||||
f += "*.lvd *.LVD ";
|
||||
|
@ -1532,8 +1533,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 *.dld *.jlb *.lvd *.sde *.udcf *.uddf *.xml *.txt *.dlf *.apd"
|
||||
"*.SSRF *.CAN *.CSV *.DB *.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"
|
||||
"*.SSRF *.CAN *.CSV *.DB *.SQL *.DLD *.JLB *.LVD *.SDE *.UDCF *.UDDF *.xml *.TXT *.DLF *.APD);;"
|
||||
"Cochran files (*.can *.CAN);;"
|
||||
"CSV files (*.csv *.CSV);;"
|
||||
"DiveLog.de files (*.dld *.DLD);;"
|
||||
|
|
Loading…
Add table
Reference in a new issue