diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2019-01-08 17:48:21 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2019-01-09 04:23:35 +0000 |
commit | d50bd39b8531ccf26385f91e2815ea4f9cc7b6c4 (patch) | |
tree | 60a47fe6923c68976d268e97af2414a0828591ec /ui/qt/uat_frame.h | |
parent | 6739523a02d8f916bbad8b230aa15db11c651d82 (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.h | 3 |
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 ¤t, const QModelIndex &previous); |