diff options
author | Gerald Combs <gerald@wireshark.org> | 2017-12-26 10:03:09 -0600 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-12-31 08:48:22 +0000 |
commit | 6f84e1b5f3a87489785a7ee31049d83823ceb0b9 (patch) | |
tree | cdd2df0acfcf146d008078458dd5d577ed93a3d9 /ui/qt/utils/field_information.cpp | |
parent | f9307105855036231db67a840b9d1be464750990 (diff) |
Qt: Fixup fieldSelected behavior.
Check the originating sender of fieldSelected in a couple of places so
that we don't re-emit it. This fixes an issue that was keeping the byte
view from marking the protocol.
Remove duplicate signal+slot connections in MainWindow.
Remove an unused member function.
Change-Id: Ia876bb4117d1e30a56f4c335a65f6976c8058f9d
Reviewed-on: https://code.wireshark.org/review/25077
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/utils/field_information.cpp')
-rw-r--r-- | ui/qt/utils/field_information.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/utils/field_information.cpp b/ui/qt/utils/field_information.cpp index 0a89b450cb..797f650347 100644 --- a/ui/qt/utils/field_information.cpp +++ b/ui/qt/utils/field_information.cpp @@ -93,7 +93,7 @@ FieldInformation::HeaderInfo FieldInformation::headerInfo() const FieldInformation * FieldInformation::parentField() const { - return new FieldInformation(parent_fi_); + return new FieldInformation(parent_fi_, parent()); } bool FieldInformation::tvbContains(FieldInformation *child) |