X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fcursorheader.hpp;h=f37112ec755aa57ab2d4df3434c514f631a3d332;hb=2fae5107535c39adde322393d2f6d18098c0154e;hp=90a000f17997779cd613cef40e2f042e0305d787;hpb=2acdb232d6bb452cfdfaea3ef5218fb4da592329;p=pulseview.git diff --git a/pv/view/cursorheader.hpp b/pv/view/cursorheader.hpp index 90a000f1..f37112ec 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_; };