summaryrefslogtreecommitdiff
path: root/ui/qt/export_object_dialog.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2014-12-31 14:21:50 -0800
committerGerald Combs <gerald@wireshark.org>2014-12-31 22:48:17 +0000
commit91e43303949491d8865bac6fd0464102f176fc52 (patch)
treeac6b03e8a9cf96727e02818d0d52c5646e25fef0 /ui/qt/export_object_dialog.cpp
parent0e57ff2ca1ac3f8e409927d677ae4f6d5c3a9bcb (diff)
downloadwireshark-91e43303949491d8865bac6fd0464102f176fc52.tar.gz
Qt: Convert more dialog titles.
Change-Id: I9c3e3471a92b7af9347a541bece3d9405d37dce0 Reviewed-on: https://code.wireshark.org/review/6193 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/export_object_dialog.cpp')
-rw-r--r--ui/qt/export_object_dialog.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/qt/export_object_dialog.cpp b/ui/qt/export_object_dialog.cpp
index c98e9c5beb..35b56e45e4 100644
--- a/ui/qt/export_object_dialog.cpp
+++ b/ui/qt/export_object_dialog.cpp
@@ -23,6 +23,7 @@
#include "ui_export_object_dialog.h"
#include <ui/alert_box.h>
+#include <ui/utf8_entities.h>
#include <wsutil/filesystem.h>
#include <wsutil/str_util.h>
@@ -256,7 +257,7 @@ void ExportObjectDialog::saveCurrentEntry()
entry = item->data(0, Qt::UserRole).value<export_object_entry_t *>();
if (!entry) return;
- file_name = QFileDialog::getSaveFileName(this, tr("Wireshark: Save Object As..."),
+ file_name = QFileDialog::getSaveFileName(this, wsApp->windowTitleString(tr("Save Object As" UTF8_HORIZONTAL_ELLIPSIS)),
path.filePath(entry->filename));
if (file_name.length() > 0) {
@@ -273,7 +274,7 @@ void ExportObjectDialog::saveAllEntries()
QString file_path;
bool all_saved = true;
- file_path = QFileDialog::getSaveFileName(this, tr("Wireshark: Save All Objects In..."),
+ file_path = QFileDialog::getSaveFileName(this, wsApp->windowTitleString(tr("Save All Objects In" UTF8_HORIZONTAL_ELLIPSIS)),
path.canonicalPath(), QString(), NULL,
QFileDialog::ShowDirsOnly);