From 85a3f10508d9fad3e78e35c6d20caa33e196ae69 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Sat, 26 Apr 2014 10:55:39 +0300 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/divelistview.cpp | 2 +- qt-ui/mainwindow.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'qt-ui') 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); -- cgit v1.2.3-70-g09d2