diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2014-04-26 10:55:39 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-04-26 17:16:58 -0700 |
commit | 85a3f10508d9fad3e78e35c6d20caa33e196ae69 (patch) | |
tree | 2074cb6bd6e0b8bdb124c7209d4123df74aae3e7 /qt-ui | |
parent | 1306c0fecbd958656ba312be7e8ba1428f876183 (diff) | |
download | subsurface-85a3f10508d9fad3e78e35c6d20caa33e196ae69.tar.gz |
Use proper export text instead of save
When exporting UDDF logs the file name selection dialog should talk
about export, not save. This patch changes that text
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/divelistview.cpp | 2 | ||||
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp index b2bf7cfc6..a3e2e5cf8 100644 --- a/qt-ui/divelistview.cpp +++ b/qt-ui/divelistview.cpp @@ -810,7 +810,7 @@ void DiveListView::exportSelectedDivesAsUDDF() QString filename; QFileInfo fi(system_default_filename()); - filename = QFileDialog::getSaveFileName(this, tr("Save File as"), fi.absolutePath(), + filename = QFileDialog::getSaveFileName(this, tr("Export UDDF File as"), fi.absolutePath(), tr("UDDF files (*.uddf *.UDDF)")); if (!filename.isNull() && !filename.isEmpty()) export_dives_uddf(filename.toUtf8(), true); diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 481244e91..f93ad2d23 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -277,7 +277,7 @@ void MainWindow::updateLastUsedDir(const QString &dir) void MainWindow::on_actionExportUDDF_triggered() { QFileInfo fi(system_default_filename()); - QString filename = QFileDialog::getSaveFileName(this, tr("Save File as"), fi.absolutePath(), + QString filename = QFileDialog::getSaveFileName(this, tr("Export UDDF File as"), fi.absolutePath(), tr("UDDF files (*.uddf *.UDDF)")); if (!filename.isNull() && !filename.isEmpty()) export_dives_uddf(filename.toUtf8(), false); |