Wireshark-commits: [Wireshark-commits] master 55f8332: Qt: simplify decode_as_ action in the packet

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 05 Feb 2020 04:34:44 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=55f83324ef48f79f7e0471a26213b9c901d089ad
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

55f8332 by Peter Wu (peter@xxxxxxxxxxxxx):

    Qt: simplify decode_as_ action in the packet details view
    
    Use the "create_new" property convention similar to PacketList. Fix a
    "QWidget::insertAction: Attempt to insert null action" warning in the
    packet dialog while at it.
    
    Change-Id: I29b3b113aba92634b1b9a3427e2313fca30633eb
    Reviewed-on: https://code.wireshark.org/review/36023
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  6bbd618   Qt: make Decode As from packet list functional again
     add  55f8332   Qt: simplify decode_as_ action in the packet details view


Summary of changes:
 ui/qt/main_window_slots.cpp |  5 +----
 ui/qt/proto_tree.cpp        | 12 ++++--------
 ui/qt/proto_tree.h          |  1 -
 3 files changed, 5 insertions(+), 13 deletions(-)