X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.cpp;h=91e38729167d98135b8d9755ecdc315042820217;hp=52b625086d4830df551f5a302e61cb1d3db30b5f;hb=7ea2a4ff0765fdad34b84e4b4631d6f3f5588714;hpb=056f443e2a6f8db80161ce08d7ff8111175bc3d6;ds=sidebyside diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp index 52b62508..91e38729 100644 --- a/pv/mainwindow.cpp +++ b/pv/mainwindow.cpp @@ -174,9 +174,9 @@ shared_ptr MainWindow::add_view(const QString &title, connect(close_btn, SIGNAL(clicked(bool)), this, SLOT(on_view_close_clicked())); - connect(&session, SIGNAL(trigger_event(util::Timestamp)), + connect(&session, SIGNAL(trigger_event(int, util::Timestamp)), qobject_cast(v.get()), - SLOT(trigger_event(util::Timestamp))); + SLOT(trigger_event(int, util::Timestamp))); if (type == views::ViewTypeTrace) { views::trace::View *tv =