X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fviews%2Fviewbase.cpp;h=caed41eecb56daf0d3b58b1102e90d091c1f7ecb;hb=a66e286e0276186c41b7ce07cfcbd0c4da2ca1cb;hp=65cf6842aeee0699686f59990379c48d9a2499c2;hpb=8c3397413149b87d2755494fe73186f27edab369;p=pulseview.git diff --git a/pv/views/viewbase.cpp b/pv/views/viewbase.cpp index 65cf6842..caed41ee 100644 --- a/pv/views/viewbase.cpp +++ b/pv/views/viewbase.cpp @@ -38,6 +38,7 @@ const int ViewBase::MaxViewAutoUpdateRate = 25; // No more than 25 Hz ViewBase::ViewBase(Session &session, bool is_main_view, QWidget *parent) : session_(session), is_main_view_(is_main_view), + ruler_shift_(0), current_segment_(0) { (void)parent; @@ -122,8 +123,9 @@ void ViewBase::restore_settings(QSettings &settings) (void)settings; } -void ViewBase::trigger_event(util::Timestamp location) +void ViewBase::trigger_event(int segment_id, util::Timestamp location) { + (void)segment_id; (void)location; }