summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorGerald Combs <gerald@zing.org>2015-02-07 12:56:03 -0800
committerGerald Combs <gerald@wireshark.org>2015-02-07 20:58:47 +0000
commit22b461943e461dacee4ef7d2e2f0706d35d2006c (patch)
treecca124471a77219493a3bf9bd8a76c2b32abdac9 /ui
parent6dd1296b763fe6214e35ecc766bb67f066de9d2e (diff)
downloadwireshark-22b461943e461dacee4ef7d2e2f0706d35d2006c.tar.gz
Add the profile name to the Coloring Rules window title.
Matches GTK+ behavior. Change-Id: I3dedb1532b5e14cc18a3ff34fd5be89438912834 Reviewed-on: https://code.wireshark.org/review/7012 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/coloring_rules_dialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/qt/coloring_rules_dialog.cpp b/ui/qt/coloring_rules_dialog.cpp
index f904f11243..3f50df11ea 100644
--- a/ui/qt/coloring_rules_dialog.cpp
+++ b/ui/qt/coloring_rules_dialog.cpp
@@ -31,6 +31,8 @@
#include "ui/utf8_entities.h"
+#include "wsutil/filesystem.h"
+
#include "color_utils.h"
#include "display_filter_combo.h"
#include "syntax_line_edit.h"
@@ -72,7 +74,7 @@ ColoringRulesDialog::ColoringRulesDialog(QWidget *parent, QString add_filter) :
conversation_colors_(NULL)
{
ui->setupUi(this);
- setWindowTitle(wsApp->windowTitleString(tr("Coloring Rules")));
+ setWindowTitle(wsApp->windowTitleString(QStringList() << tr("Coloring Rules") << get_profile_name()));
// XXX Use recent settings instead
resize(parent->width() * 2 / 3, parent->height() * 4 / 5);