diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-07-30 16:15:40 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-07-30 23:39:05 +0000 |
commit | c321171ec898924386778ef2f81171a410b4e887 (patch) | |
tree | 48d35b5aa84d2c3c28d9535dabb3b1655e76dac4 /ui/qt/proto_tree.cpp | |
parent | da07c62bd0d3a93d37e7ef66c7396c38999e0bcb (diff) |
Add Colorize to the packet detail menu.
Change-Id: Idaac0b52e6e4534f40e13839e6dbce2408ca6bfa
Reviewed-on: https://code.wireshark.org/review/9831
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/proto_tree.cpp')
-rw-r--r-- | ui/qt/proto_tree.cpp | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/ui/qt/proto_tree.cpp b/ui/qt/proto_tree.cpp index 1e54bc3f44..898ec709ff 100644 --- a/ui/qt/proto_tree.cpp +++ b/ui/qt/proto_tree.cpp @@ -200,22 +200,8 @@ ProtoTree::ProtoTree(QWidget *parent) : conv_menu_.setTitle(main_conv_menu->title()); ctx_menu_.addMenu(&conv_menu_); -// action = window()->findChild<QAction *>("actionColorize_with_Filter"); -// submenu = new QMenu(); -// action->setMenu(submenu); -// ctx_menu_.addAction(action); -// " <menuitem name='Color1' action='/Colorize with Filter/Color 1'/>\n" -// " <menuitem name='Color2' action='/Colorize with Filter/Color 2'/>\n" -// " <menuitem name='Color3' action='/Colorize with Filter/Color 3'/>\n" -// " <menuitem name='Color4' action='/Colorize with Filter/Color 4'/>\n" -// " <menuitem name='Color5' action='/Colorize with Filter/Color 5'/>\n" -// " <menuitem name='Color6' action='/Colorize with Filter/Color 6'/>\n" -// " <menuitem name='Color7' action='/Colorize with Filter/Color 7'/>\n" -// " <menuitem name='Color8' action='/Colorize with Filter/Color 8'/>\n" -// " <menuitem name='Color9' action='/Colorize with Filter/Color 9'/>\n" -// " <menuitem name='Color10' action='/Colorize with Filter/Color 10'/>\n" -// " <menuitem name='NewColoringRule' action='/Colorize with Filter/New Coloring Rule'/>\n" -// " </menu>\n" + colorize_menu_.setTitle(tr("Colorize with Filter")); + ctx_menu_.addMenu(&colorize_menu_); main_menu_item = window()->findChild<QMenu *>("menuFollow"); submenu = new QMenu(main_menu_item->title()); |