X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fcursorheader.hpp;h=f37112ec755aa57ab2d4df3434c514f631a3d332;hb=e95fb8e943bd24e18ba5d237f259a76e705f3914;hp=90a000f17997779cd613cef40e2f042e0305d787;hpb=5165bb349b14802ca98766b4cecee3699d22fa55;p=pulseview.git diff --git a/pv/view/cursorheader.hpp b/pv/view/cursorheader.hpp index 90a000f..f37112e 100644 --- a/pv/view/cursorheader.hpp +++ b/pv/view/cursorheader.hpp @@ -28,7 +28,7 @@ namespace pv { namespace view { -class TimeMarker; +class TimeItem; /** * Widget to hold the labels over the cursors. @@ -61,8 +61,8 @@ private: int calculateTextHeight(); - std::weak_ptr grabbed_marker_; QPoint mouse_down_point_; + std::shared_ptr mouse_down_item_; bool dragging_; const int textHeight_; };