aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/capture_file_dialog.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2014-12-29 15:15:59 -0800
committerGerald Combs <gerald@wireshark.org>2014-12-30 16:37:34 +0000
commit8629aa26ec7efee5c752cbf4f04d1093ef390b26 (patch)
tree0daa52679daa9cf2bfa9d2eca79f01f765d17f52 /ui/qt/capture_file_dialog.cpp
parent1ee43690ae165567d81aba6ba5f94a56c0844b2c (diff)
Qt: Continue using the new window title format.
Update several dialog titles to "Wireshark ยท <subtile...>". Change-Id: I64645e913500ecd55a008e1609b46385dafe7de9 Reviewed-on: https://code.wireshark.org/review/6127 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/capture_file_dialog.cpp')
-rw-r--r--ui/qt/capture_file_dialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/qt/capture_file_dialog.cpp b/ui/qt/capture_file_dialog.cpp
index 03d4892411..c68db555d8 100644
--- a/ui/qt/capture_file_dialog.cpp
+++ b/ui/qt/capture_file_dialog.cpp
@@ -556,7 +556,7 @@ QDialogButtonBox *CaptureFileDialog::addHelpButton(topic_action_e help_topic)
}
int CaptureFileDialog::open(QString &file_name, unsigned int &type) {
- setWindowTitle(tr("Wireshark: Open Capture File"));
+ setWindowTitle(wsApp->windowTitleString(tr("Open Capture File")));
setNameFilters(buildFileOpenTypeList());
setFileMode(QFileDialog::ExistingFile);
@@ -592,7 +592,7 @@ int CaptureFileDialog::open(QString &file_name, unsigned int &type) {
}
check_savability_t CaptureFileDialog::saveAs(QString &file_name, bool must_support_all_comments) {
- setWindowTitle(tr("Wireshark: Save Capture File As"));
+ setWindowTitle(wsApp->windowTitleString(tr("Save Capture File As")));
// XXX There doesn't appear to be a way to use setNameFilters without restricting
// what the user can select. We might want to use our own combobox instead and
// let the user select anything.
@@ -620,7 +620,7 @@ check_savability_t CaptureFileDialog::saveAs(QString &file_name, bool must_suppo
check_savability_t CaptureFileDialog::exportSelectedPackets(QString &file_name, packet_range_t *range) {
QDialogButtonBox *button_box;
- setWindowTitle(tr("Wireshark: Export Specified Packets"));
+ setWindowTitle(wsApp->windowTitleString(tr("Export Specified Packets")));
// XXX See comment in ::saveAs regarding setNameFilters
setNameFilters(buildFileSaveAsTypeList(false));
setAcceptMode(QFileDialog::AcceptSave);
@@ -653,7 +653,7 @@ check_savability_t CaptureFileDialog::exportSelectedPackets(QString &file_name,
}
int CaptureFileDialog::merge(QString &file_name) {
- setWindowTitle(tr("Wireshark: Merge Capture File"));
+ setWindowTitle(wsApp->windowTitleString(tr("Merge Capture File")));
setNameFilters(buildFileOpenTypeList());
setFileMode(QFileDialog::ExistingFile);