X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Ftimemarker.cpp;h=9d4c43c21d2321f0ad20526075b1ace4dbeb5be7;hp=ec0ab9a4fe4f59857e47e0fcc7443747e3039a1c;hb=a55c544b0fefead0786633d6d7c2356002b192ae;hpb=ca4ec3eab886e62c0f9d0cc91636383a74ad5d7b diff --git a/pv/view/timemarker.cpp b/pv/view/timemarker.cpp index ec0ab9a4..9d4c43c2 100644 --- a/pv/view/timemarker.cpp +++ b/pv/view/timemarker.cpp @@ -24,6 +24,8 @@ #include +using namespace std; + namespace pv { namespace view { @@ -35,13 +37,6 @@ TimeMarker::TimeMarker(const View &view, const QColor &colour, { } -TimeMarker::TimeMarker(const TimeMarker &s) : - _view(s._view), - _colour(s._colour), - _time(s._time) -{ -} - double TimeMarker::time() const { return _time; @@ -60,5 +55,11 @@ void TimeMarker::paint(QPainter &p, const QRect &rect) p.drawLine(QPointF(x, rect.top()), QPointF(x, rect.bottom())); } +const list TimeMarker::get_context_bar_actions() +{ + list actions; + return actions; +} + } // namespace view } // namespace pv