X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fviews%2Fviewbase.cpp;h=7d986fe051e730b55034bb423a0afdc1ca058c87;hb=558ad6ceb934ab7406d286c1a4ae08da4aba1448;hp=4031211fcbec6e1641a76bd40312fd98dd340a3d;hpb=ad908057e13224eee9f983685e0ccc7db1ded0e9;p=pulseview.git diff --git a/pv/views/viewbase.cpp b/pv/views/viewbase.cpp index 4031211..7d986fe 100644 --- a/pv/views/viewbase.cpp +++ b/pv/views/viewbase.cpp @@ -44,6 +44,8 @@ ViewBase::ViewBase(Session &session, bool is_main_view, QWidget *parent) : this, SLOT(signals_changed())); connect(&session_, SIGNAL(capture_state_changed(int)), this, SLOT(capture_state_updated(int))); + connect(&session_, SIGNAL(new_segment(int)), + this, SLOT(on_new_segment(int))); connect(&delayed_view_updater_, SIGNAL(timeout()), this, SLOT(perform_delayed_view_update())); @@ -127,6 +129,16 @@ void ViewBase::signals_changed() { } +void ViewBase::on_new_segment(int new_segment_id) +{ + (void)new_segment_id; +} + +void ViewBase::on_segment_completed(int new_segment_id) +{ + (void)new_segment_id; +} + void ViewBase::capture_state_updated(int state) { (void)state;