diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-10-16 00:01:23 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-10-16 00:01:23 +0000 |
commit | 677c913f42b409fb11990e5e6f65284bab1f4e7b (patch) | |
tree | 8c6d09257e8fdc84148626dcc076c9246697ffc1 /ui/qt/proto_tree.cpp | |
parent | be4c14ff77b61e3b5e98813c9b8dcd99a08c6990 (diff) |
Add "Export Packet Bytes".
svn path=/trunk/; revision=45567
Diffstat (limited to 'ui/qt/proto_tree.cpp')
-rw-r--r-- | ui/qt/proto_tree.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/qt/proto_tree.cpp b/ui/qt/proto_tree.cpp index 477f47da90..2d45334343 100644 --- a/ui/qt/proto_tree.cpp +++ b/ui/qt/proto_tree.cpp @@ -202,10 +202,10 @@ void ProtoTree::updateSelectionStatus(QTreeWidgetItem* item) { itemInfo.append(QString(tr(", %1 bytes")).arg(finfo_length)); } - emit protoItemSelected(new QString()); - emit protoItemSelected(false); + emit protoItemSelected(*new QString()); + emit protoItemSelected(NULL); emit protoItemSelected(itemInfo); - emit protoItemSelected(true); + emit protoItemSelected(fi); } // else the GTK+ version pushes an empty string as described below. /* * Don't show anything if the field name is zero-length; @@ -228,8 +228,8 @@ void ProtoTree::updateSelectionStatus(QTreeWidgetItem* item) { */ } else { - emit protoItemSelected(new QString()); - emit protoItemSelected(false); + emit protoItemSelected(*new QString()); + emit protoItemSelected(NULL); } } |