aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2018-03-23 12:31:51 +0100
committerUlf Hermann <[email protected]>2018-04-16 09:19:28 +0000
commit7f2912b0367990cd975c41c233b594373b845783 (patch)
tree30acd63710c2eb2851fec1e67480ccdc444c6f43 /src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp
parent7943dfb5a6e78fc4394e2acc5c87c4fa0a68eaf1 (diff)
QmlProfiler: Rename method in statistics model
dataChanged() was too generic and easily confused with other methods. Change-Id: I68b8bcb609599e56a1a2d3c6cf53d878281f7818 Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp4
1 files changed, 2 insertions, 2 deletions
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();