aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/uat_dialog.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2018-10-08 20:57:19 +0200
committerStig Bjørlykke <stig@bjorlykke.org>2018-10-08 21:07:49 +0000
commit75c370fe546ddb616764511bcadf4bb1ee57ebd9 (patch)
tree61207b4e00351c8d3068ef4c3141ea40b6807870 /ui/qt/uat_dialog.h
parentac50aca6ad392fb44735411e31c9751b16ea5d1a (diff)
Qt: Refactor copy from profile widget
Refactor CopyFromProfile class from Button to Menu to make it usable for existing buttons, both QPushButton and QToolButton. Change-Id: I7d23b4225dbe45f961fb05e73dbb4dd51e6f8ea1 Reviewed-on: https://code.wireshark.org/review/30083 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/uat_dialog.h')
-rw-r--r--ui/qt/uat_dialog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/uat_dialog.h b/ui/qt/uat_dialog.h
index 7bce5434dc..0b339701ee 100644
--- a/ui/qt/uat_dialog.h
+++ b/ui/qt/uat_dialog.h
@@ -20,6 +20,7 @@
class QComboBox;
class QPushButton;
+class CopyFromProfileMenu;
struct epan_uat;
@@ -59,6 +60,7 @@ private:
UatDelegate *uat_delegate_;
QPushButton *ok_button_;
QPushButton *help_button_;
+ CopyFromProfileMenu *copy_from_menu_;
struct epan_uat *uat_;
void checkForErrorHint(const QModelIndex &current, const QModelIndex &previous);