aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/uat_frame.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/uat_frame.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/uat_frame.h')
-rw-r--r--ui/qt/uat_frame.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/qt/uat_frame.h b/ui/qt/uat_frame.h
index 02475ca10a..ccf46e1fbf 100644
--- a/ui/qt/uat_frame.h
+++ b/ui/qt/uat_frame.h
@@ -16,8 +16,6 @@
#include <ui/qt/models/uat_model.h>
#include <ui/qt/models/uat_delegate.h>
-class CopyFromProfileMenu;
-
namespace Ui {
class UatFrame;
}
@@ -43,7 +41,6 @@ private:
UatModel *uat_model_;
UatDelegate *uat_delegate_;
- CopyFromProfileMenu *copy_from_menu_;
struct epan_uat *uat_;
void checkForErrorHint(const QModelIndex &current, const QModelIndex &previous);