forked from qt-creator/qt-creator
QmlProfiler: Track requested, recorded, and displayed features
This way we can have a central filter menu to hide and show features in any connected views. Change-Id: I8142da0062a23f8166555016de6c7cb38060f725 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -44,6 +44,8 @@ QmlProfilerTimelineModel::QmlProfilerTimelineModel(QmlProfilerModelManager *mode
|
||||
{
|
||||
connect(modelManager, &QmlProfilerModelManager::stateChanged,
|
||||
this, &QmlProfilerTimelineModel::dataChanged);
|
||||
connect(modelManager, &QmlProfilerModelManager::visibleFeaturesChanged,
|
||||
this, &QmlProfilerTimelineModel::onVisibleFeaturesChanged);
|
||||
announceFeatures(1ULL << m_mainFeature);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user