mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
divecomputer > dive computer
This commit is contained in:
parent
67bba5d1c2
commit
59d18a00db
3 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue