diff options
author | Roland Knall <rknall@gmail.com> | 2019-06-16 12:02:37 +0200 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2019-06-16 21:07:21 +0000 |
commit | e4713e8745859ea5b8a8ca27a699dec1288c211b (patch) | |
tree | 7e4b2a8c98376bd7cf5d8006058be36aa6e151d2 /ui/qt/packet_list.h | |
parent | b4cd7bcf625cd2eb2039add5238fc6c367eb24cb (diff) |
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@gmail.com>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui/qt/packet_list.h')
-rw-r--r-- | ui/qt/packet_list.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/packet_list.h b/ui/qt/packet_list.h index 48fede5c08..e05bd5a3b4 100644 --- a/ui/qt/packet_list.h +++ b/ui/qt/packet_list.h @@ -74,6 +74,7 @@ protected: void timerEvent(QTimerEvent *event); void paintEvent(QPaintEvent *event); virtual void mousePressEvent (QMouseEvent *event); + virtual void mouseMoveEvent (QMouseEvent *event); virtual void resizeEvent(QResizeEvent *event); protected slots: |