diff options
author | Martin Měřinský <mermar@centrum.cz> | 2017-02-20 08:15:18 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-03-04 12:08:17 -0800 |
commit | 59d18a00dbb8a3f00c4a9d5335684bb7611bc5c3 (patch) | |
tree | 753bc8a0ff90125582793ce01ca2f8c941a664a7 /desktop-widgets | |
parent | 67bba5d1c2b01451c095a3a1f7bde60f907ba053 (diff) | |
download | subsurface-59d18a00dbb8a3f00c4a9d5335684bb7611bc5c3.tar.gz |
divecomputer > dive computer
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/configuredivecomputerdialog.cpp | 2 | ||||
-rw-r--r-- | desktop-widgets/downloadfromdivecomputer.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/desktop-widgets/configuredivecomputerdialog.cpp b/desktop-widgets/configuredivecomputerdialog.cpp index e73a17b56..8b3a9a5e9 100644 --- a/desktop-widgets/configuredivecomputerdialog.cpp +++ b/desktop-widgets/configuredivecomputerdialog.cpp @@ -1224,7 +1224,7 @@ void ConfigureDiveComputerDialog::pickLogFile() QString filename = existing_filename ?: prefs.default_filename; QFileInfo fi(filename); filename = fi.absolutePath().append(QDir::separator()).append("subsurface.log"); - logFile = QFileDialog::getSaveFileName(this, tr("Choose file for divecomputer download logfile"), + logFile = QFileDialog::getSaveFileName(this, tr("Choose file for dive computer download logfile"), filename, tr("Log files (*.log)")); if (!logFile.isEmpty()) { free(logfile_name); diff --git a/desktop-widgets/downloadfromdivecomputer.cpp b/desktop-widgets/downloadfromdivecomputer.cpp index ab8e5a310..5501a57ae 100644 --- a/desktop-widgets/downloadfromdivecomputer.cpp +++ b/desktop-widgets/downloadfromdivecomputer.cpp @@ -395,7 +395,7 @@ void DownloadFromDCWidget::pickLogFile() QString filename = existing_filename ?: prefs.default_filename; QFileInfo fi(filename); filename = fi.absolutePath().append(QDir::separator()).append("subsurface.log"); - logFile = QFileDialog::getSaveFileName(this, tr("Choose file for divecomputer download logfile"), + logFile = QFileDialog::getSaveFileName(this, tr("Choose file for dive computer download logfile"), filename, tr("Log files (*.log)")); if (!logFile.isEmpty()) { free(logfile_name); @@ -423,7 +423,7 @@ void DownloadFromDCWidget::pickDumpFile() QString filename = existing_filename ?: prefs.default_filename; QFileInfo fi(filename); filename = fi.absolutePath().append(QDir::separator()).append("subsurface.bin"); - dumpFile = QFileDialog::getSaveFileName(this, tr("Choose file for divecomputer binary dump file"), + dumpFile = QFileDialog::getSaveFileName(this, tr("Choose file for dive computer binary dump file"), filename, tr("Dump files (*.bin)")); if (!dumpFile.isEmpty()) { free(dumpfile_name); |