summaryrefslogtreecommitdiff
path: root/ui/qt/module_preferences_scroll_area.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/module_preferences_scroll_area.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/module_preferences_scroll_area.cpp')
-rw-r--r--ui/qt/module_preferences_scroll_area.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/ui/qt/module_preferences_scroll_area.cpp b/ui/qt/module_preferences_scroll_area.cpp
index cf46347b99..f1290e2fe9 100644
--- a/ui/qt/module_preferences_scroll_area.cpp
+++ b/ui/qt/module_preferences_scroll_area.cpp
@@ -24,6 +24,7 @@
#include "syntax_line_edit.h"
#include "qt_ui_utils.h"
#include "uat_dialog.h"
+#include "wireshark_application.h"
#include <epan/prefs-int.h>
@@ -474,8 +475,7 @@ void ModulePreferencesScrollArea::filenamePushButtonPressed()
pref_t *pref = filename_pb->property(pref_prop_).value<pref_t *>();
if (!pref) return;
- QString filename = QFileDialog::getSaveFileName(this,
- QString(tr("Wireshark: ")) + pref->description,
+ QString filename = QFileDialog::getSaveFileName(this, wsApp->windowTitleString(pref->title),
pref->stashed_val.string);
if (!filename.isEmpty()) {
@@ -493,8 +493,7 @@ void ModulePreferencesScrollArea::dirnamePushButtonPressed()
pref_t *pref = dirname_pb->property(pref_prop_).value<pref_t *>();
if (!pref) return;
- QString dirname = QFileDialog::getExistingDirectory(this,
- QString(tr("Wireshark: ")) + pref->description,
+ QString dirname = QFileDialog::getExistingDirectory(this, wsApp->windowTitleString(pref->title),
pref->stashed_val.string);
if (!dirname.isEmpty()) {