Wireshark-commits: [Wireshark-commits] master 75c370f: Qt: Refactor copy from profile widget
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=75c370fe546ddb616764511bcadf4bb1ee57ebd9
Submitter: "Stig Bjørlykke <stig@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
75c370f by Stig Bjørlykke (stig@xxxxxxxxxxxxx):
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@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Actions performed:
from ac50aca Release note updates.
add 75c370f Qt: Refactor copy from profile widget
Summary of changes:
ui/qt/CMakeLists.txt | 4 +-
ui/qt/coloring_rules_dialog.cpp | 14 ++++---
ui/qt/coloring_rules_dialog.h | 2 +
ui/qt/io_graph_dialog.cpp | 14 ++++---
ui/qt/io_graph_dialog.h | 2 +
ui/qt/uat_dialog.cpp | 48 ++++++++++++----------
ui/qt/uat_dialog.h | 2 +
ui/qt/uat_dialog.ui | 2 +-
ui/qt/widgets/copy_from_profile_button.h | 35 ----------------
...ofile_button.cpp => copy_from_profile_menu.cpp} | 44 +++++++++-----------
ui/qt/widgets/copy_from_profile_menu.h | 35 ++++++++++++++++
11 files changed, 107 insertions(+), 95 deletions(-)
delete mode 100644 ui/qt/widgets/copy_from_profile_button.h
rename ui/qt/widgets/{copy_from_profile_button.cpp => copy_from_profile_menu.cpp} (68%)
create mode 100644 ui/qt/widgets/copy_from_profile_menu.h