diff options
-rw-r--r-- | desktop-widgets/configuredivecomputerdialog.cpp | 2 | ||||
-rw-r--r-- | desktop-widgets/downloadfromdivecomputer.cpp | 4 | ||||
-rw-r--r-- | profile-widget/profilewidget2.cpp | 4 |
3 files changed, 5 insertions, 5 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); diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index f3929a848..56cfae57f 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -1356,9 +1356,9 @@ void ProfileWidget2::contextMenuEvent(QContextMenuEvent *event) return; // create menu to show when right clicking on dive computer name if (dc_number > 0) - m.addAction(tr("Make first divecomputer"), this, SLOT(makeFirstDC())); + m.addAction(tr("Make first dive computer"), this, SLOT(makeFirstDC())); if (count_divecomputers() > 1) - m.addAction(tr("Delete this divecomputer"), this, SLOT(deleteCurrentDC())); + m.addAction(tr("Delete this dive computer"), this, SLOT(deleteCurrentDC())); m.exec(event->globalPos()); // don't show the regular profile context menu return; |