aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt')
-rw-r--r--ui/qt/packet_dialog.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/ui/qt/packet_dialog.cpp b/ui/qt/packet_dialog.cpp
index a8e26f217f..0d19f9a59e 100644
--- a/ui/qt/packet_dialog.cpp
+++ b/ui/qt/packet_dialog.cpp
@@ -38,8 +38,6 @@
#include <QTreeWidgetItemIterator>
// To do:
-// - Don't hide the byte view when we reload.
-// - Find a way to preserve the byte view after the file closes.
// - Copy over experimental packet editing code.
// - Fix ElidedText width.
@@ -118,16 +116,6 @@ PacketDialog::~PacketDialog()
void PacketDialog::captureFileClosing()
{
- delete byte_view_tab_;
- byte_view_tab_ = NULL;
-
- QTreeWidgetItemIterator iter(proto_tree_);
- while (*iter) {
- QTreeWidgetItem *item = (*iter);
- item->setData(0, Qt::UserRole, QVariant());
- ++iter;
- }
-
QString closed_title = tr("[%1 closed] " UTF8_MIDDLE_DOT " %2")
.arg(cap_file_.fileName())
.arg(col_info_);