Wireshark-commits: [Wireshark-commits] master e4713e8: Qt: Fix drag-and-drop from packet list

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 16 Jun 2019 21:07:29 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e4713e8745859ea5b8a8ca27a699dec1288c211b
Submitter: "Roland Knall <rknall@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

e4713e8 by Roland Knall (rknall@xxxxxxxxx):

    Qt: Fix drag-and-drop from packet list
    
    Only initiate drag-and-drop when the left mousebutton has been
    clicked, and also add the filter as plain text, so to enable
    dragging to external applications.
    
    Change-Id: I2f6ac7f9c543d003070c2a6c0ce671ed5a215669
    Reviewed-on: https://code.wireshark.org/review/33620
    Petri-Dish: Roland Knall <rknall@xxxxxxxxx>
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    

Actions performed:

    from  b4cd7bc   nas 5gs: (trivial): remove _U_ from parameters that are used
     add  e4713e8   Qt: Fix drag-and-drop from packet list


Summary of changes:
 ui/qt/packet_list.cpp                 | 47 +++++++++++++------------
 ui/qt/packet_list.h                   |  1 +
 ui/qt/utils/wireshark_mime_data.cpp   |  4 ++-
 ui/qt/widgets/display_filter_edit.cpp | 64 ++++++++++++++++++++++-------------
 ui/qt/widgets/display_filter_edit.h   |  2 +-
 ui/qt/widgets/packet_list_header.cpp  |  2 +-
 6 files changed, 73 insertions(+), 47 deletions(-)