aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2020-09-08 12:54:16 -0700
committerAndersBroman <a.broman58@gmail.com>2020-09-09 04:56:33 +0000
commit6a08695e3ef04e9f3f9949799820123d148065f7 (patch)
tree53a26a08330e24fc7a171f82b210e4779498018d
parentf75281cdd0cd6adcaeae655018fd193fb3ea8d67 (diff)
Qt: Remove an unused value.
Remove an unused value in packet_diagram.cpp. Fixes CID 1466402.
-rw-r--r--ui/qt/packet_diagram.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/qt/packet_diagram.cpp b/ui/qt/packet_diagram.cpp
index 8a9e901d64..c86a2b90e2 100644
--- a/ui/qt/packet_diagram.cpp
+++ b/ui/qt/packet_diagram.cpp
@@ -623,7 +623,6 @@ void PacketDiagram::setSelectedField(field_info *fi)
foreach (QGraphicsItem *item, scene()->items()) {
if (item->isSelected()) {
item->setSelected(false);
- fi_item = qgraphicsitem_cast<FieldInformationGraphicsItem *>(item);
}
if (fi && VariantPointer<field_info>::asPtr(item->data(Qt::UserRole)) == fi) {
fi_item = qgraphicsitem_cast<FieldInformationGraphicsItem *>(item);