forked from qt-creator/qt-creator
QmlProfiler: Use visible features in events view.
This way, end up with one single control for hiding and showing categories. Change-Id: Ifb1484d53a50255894284d5236b0446e924e4102 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -103,6 +103,8 @@ void QmlProfilerViewManager::createViews()
|
||||
SIGNAL(gotoSourceLocation(QString,int,int)));
|
||||
connect(d->eventsView, SIGNAL(typeSelected(int)), d->traceView, SLOT(selectByTypeId(int)));
|
||||
connect(d->traceView, SIGNAL(typeSelected(int)), d->eventsView, SLOT(selectByTypeId(int)));
|
||||
connect(d->profilerModelManager, &QmlProfilerModelManager::visibleFeaturesChanged,
|
||||
d->eventsView, &QmlProfilerEventsWidget::onVisibleFeaturesChanged);
|
||||
|
||||
QDockWidget *eventsDock = AnalyzerManager::createDockWidget
|
||||
(QmlProfilerToolId, d->eventsView);
|
||||
|
||||
Reference in New Issue
Block a user