X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fmarginwidget.hpp;h=de5c866f3077fcc12acb8028167dc4de0711a69d;hb=19552bb8dff1708939544beecb448bcc91f46644;hp=5b6631af724f3177e5c643bda1f0674e0ad5ccad;hpb=786b76785856c6cf8f5916c0b8d76a61695762f9;p=pulseview.git diff --git a/pv/view/marginwidget.hpp b/pv/view/marginwidget.hpp index 5b6631a..de5c866 100644 --- a/pv/view/marginwidget.hpp +++ b/pv/view/marginwidget.hpp @@ -53,6 +53,9 @@ protected: */ void show_popup(const std::shared_ptr &item); +private: + void leaveEvent(QEvent *event); + public Q_SLOTS: virtual void clear_selection(); @@ -63,6 +66,7 @@ protected: pv::view::View &view_; QPoint mouse_point_; QPoint mouse_down_point_; + std::shared_ptr mouse_down_item_; bool dragging_; };