X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.cpp;h=91e38729167d98135b8d9755ecdc315042820217;hp=119ce0a791ba22a2aa1d6b1702a387fd6bef9caf;hb=7ea2a4ff0765fdad34b84e4b4631d6f3f5588714;hpb=6e2a5b1d677a26a637465cd4d304e2bc52e14f36 diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp index 119ce0a7..91e38729 100644 --- a/pv/mainwindow.cpp +++ b/pv/mainwindow.cpp @@ -53,7 +53,6 @@ using std::bind; using std::dynamic_pointer_cast; using std::make_shared; -using std::map; using std::placeholders::_1; using std::shared_ptr; using std::string; @@ -175,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 =