aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/io_graph_dialog.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2019-01-08 17:48:21 +0100
committerAnders Broman <a.broman58@gmail.com>2019-01-09 04:23:35 +0000
commitd50bd39b8531ccf26385f91e2815ea4f9cc7b6c4 (patch)
tree60a47fe6923c68976d268e97af2414a0828591ec /ui/qt/io_graph_dialog.h
parent6739523a02d8f916bbad8b230aa15db11c651d82 (diff)
Qt: Cleanup deletion of CopyFromProfileMenu
Set the push button as parent to the profile list menu so it will be deleted when that parent is destroyed. Change-Id: Ide4a234e039a3e27d9ee4732a3800906c80be173 Reviewed-on: https://code.wireshark.org/review/31446 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/io_graph_dialog.h')
-rw-r--r--ui/qt/io_graph_dialog.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/qt/io_graph_dialog.h b/ui/qt/io_graph_dialog.h
index 184d3a97a3..6dc18b37e0 100644
--- a/ui/qt/io_graph_dialog.h
+++ b/ui/qt/io_graph_dialog.h
@@ -34,7 +34,6 @@ class QCPBars;
class QCPGraph;
class QCPItemTracer;
class QCustomPlot;
-class CopyFromProfileMenu;
// GTK+ sets this to 100000 (NUM_IO_ITEMS)
const int max_io_items_ = 250000;
@@ -159,7 +158,6 @@ signals:
private:
Ui::IOGraphDialog *ui;
- CopyFromProfileMenu *copy_from_menu_;
//Model and delegate were chosen over UatFrame because add/remove/copy
//buttons would need realignment (UatFrame has its own)