forked from qt-creator/qt-creator
Various Plugins: Add context object into connections
Change-Id: I360677bebfef16a3233b3b8177cff6da57ec7c31 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -97,8 +97,7 @@ void CtfVisualizerTool::createViews()
|
||||
|
||||
m_statisticsView = new CtfStatisticsView(m_statisticsModel.get());
|
||||
m_statisticsView->setWindowTitle(Tr::tr("Statistics"));
|
||||
connect(m_statisticsView, &CtfStatisticsView::eventTypeSelected, [this] (QString title)
|
||||
{
|
||||
connect(m_statisticsView, &CtfStatisticsView::eventTypeSelected, this, [this](QString title) {
|
||||
int typeId = m_traceManager->getSelectionId(title.toStdString());
|
||||
m_traceView->selectByTypeId(typeId);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user