aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/packet_list.h
diff options
context:
space:
mode:
authorMichal Labedzki <michal.labedzki@tieto.com>2014-11-04 18:47:11 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2014-11-05 12:58:02 +0000
commit1af7c2b8389e5c6544366bc60b50b2104ff294c0 (patch)
tree8368b5e50430eb825fd93c9c764a69e3323cf507 /ui/qt/packet_list.h
parentce4be19bdc746b0e9b9f9a9eb24b1e6e4e5edcc1 (diff)
Qt: Simplify disabling entries in ContextMenu
We have direct access to every entry (action) in ContextMenu. Use it instead of storing "actions" and checking its name. Change-Id: I97a1723898409faf13280c5655b7738661ab594b Reviewed-on: https://code.wireshark.org/review/5135 Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com> Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com> Tested-by: Michal Labedzki <michal.labedzki@tieto.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'ui/qt/packet_list.h')
-rw-r--r--ui/qt/packet_list.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/qt/packet_list.h b/ui/qt/packet_list.h
index 0056179331..7133c6d8bf 100644
--- a/ui/qt/packet_list.h
+++ b/ui/qt/packet_list.h
@@ -61,8 +61,6 @@ private:
ByteViewTab *byte_view_tab_;
capture_file *cap_file_;
QMenu ctx_menu_;
- QList<QMenu *> submenus_;
- QList<QAction *> filter_actions_;
QAction *decode_as_;
int ctx_column_;
RelatedPacketDelegate related_packet_delegate_;