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>
This commit is contained in:
Gerald Combs 2015-02-07 12:56:03 -08:00 committed by Gerald Combs
parent 6dd1296b76
commit 22b461943e
2 changed files with 3 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

After

Width:  |  Height:  |  Size: 148 KiB

View File

@ -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);