aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2017-11-09 18:39:55 +0100
committerMichael Mann <mmann78@netscape.net>2017-11-09 19:57:54 +0000
commit50b91d0b4dd057608e521d0a6e82bf08eacff812 (patch)
tree1f2cdc211846936a9c3392b49b2e2a33426b3705
parent784ad7297ecc603390797d4c4c5500610a9093e8 (diff)
qt: add constructor to proto_tree (CID: 1420705).
Change-Id: I60a07ef6c8006ad8f4b6a5f25c2b4f2b1cb32766 Reviewed-on: https://code.wireshark.org/review/24326 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
-rw-r--r--ui/qt/proto_tree.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/qt/proto_tree.cpp b/ui/qt/proto_tree.cpp
index 06938e3..6cc438e 100644
--- a/ui/qt/proto_tree.cpp
+++ b/ui/qt/proto_tree.cpp
@@ -160,7 +160,8 @@ proto_tree_draw_node(proto_node *node, gpointer data)
ProtoTree::ProtoTree(QWidget *parent) :
QTreeWidget(parent),
decode_as_(NULL),
- column_resize_timer_(0)
+ column_resize_timer_(0),
+ cap_file_(NULL)
{
setAccessibleName(tr("Packet details"));
// Leave the uniformRowHeights property as-is (false) since items might