diff --git a/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp b/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp index a28647cbd0f..96115309b2d 100644 --- a/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp @@ -68,7 +68,7 @@ QmlProfilerStatisticsModel::QmlProfilerStatisticsModel(QmlProfilerModelManager * : m_modelManager(modelManager) { connect(modelManager, &QmlProfilerModelManager::stateChanged, - this, &QmlProfilerStatisticsModel::dataChanged); + this, &QmlProfilerStatisticsModel::modelManagerStateChanged); connect(modelManager->notesModel(), &Timeline::TimelineNotesModel::changed, this, &QmlProfilerStatisticsModel::notesChanged); modelManager->registerModelProxy(); @@ -214,7 +214,7 @@ void QmlProfilerStatisticsModel::setRelativesModel(QmlProfilerStatisticsRelative m_calleesModel = relative; } -void QmlProfilerStatisticsModel::dataChanged() +void QmlProfilerStatisticsModel::modelManagerStateChanged() { if (m_modelManager->state() == QmlProfilerModelManager::ClearingData) clear(); diff --git a/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.h b/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.h index 673bf23372b..af53a566804 100644 --- a/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.h +++ b/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.h @@ -126,7 +126,7 @@ private: void loadEvent(const QmlEvent &event, const QmlEventType &type); void finalize(); - void dataChanged(); + void modelManagerStateChanged(); void notesChanged(int typeIndex); QVector m_data;