forked from qt-creator/qt-creator
QmlProfiler: Remove slots declarations and Qt4 connections
The signals from QML are relayed through the respective models, so that we don't have to use Qt4 connections there. Change-Id: I864b49061c1f28acbebfc7378bfe39f96d3cae18 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -67,10 +67,9 @@ FlameGraphView::FlameGraphView(QmlProfilerModelManager *manager, QWidget *parent
|
||||
layout->addWidget(m_content);
|
||||
setLayout(layout);
|
||||
|
||||
connect(m_content->rootObject(), SIGNAL(typeSelected(int)),
|
||||
this, SIGNAL(typeSelected(int)));
|
||||
connect(m_content->rootObject(), SIGNAL(gotoSourceLocation(QString,int,int)),
|
||||
this, SIGNAL(gotoSourceLocation(QString,int,int)));
|
||||
connect(m_model, &FlameGraphModel::typeSelected, this, &FlameGraphView::typeSelected);
|
||||
connect(m_model, &FlameGraphModel::gotoSourceLocation,
|
||||
this, &FlameGraphView::gotoSourceLocation);
|
||||
}
|
||||
|
||||
void FlameGraphView::selectByTypeId(int typeIndex)
|
||||
|
||||
Reference in New Issue
Block a user