diff --git a/src/plugins/qmlprofiler/qmlprofilerdatamodel.cpp b/src/plugins/qmlprofiler/qmlprofilerdatamodel.cpp index fdb864ea655..1fd535c115c 100644 --- a/src/plugins/qmlprofiler/qmlprofilerdatamodel.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerdatamodel.cpp @@ -241,7 +241,7 @@ int QmlProfilerDataModel::QmlProfilerDataModelPrivate::resolveStackTop() return typeIndex; } -void QmlProfilerDataModel::addEvent(const QmlEvent &event, const QmlEventType &type) +void QmlProfilerDataModel::addTypedEvent(const QmlEvent &event, const QmlEventType &type) { Q_D(QmlProfilerDataModel); diff --git a/src/plugins/qmlprofiler/qmlprofilerdatamodel.h b/src/plugins/qmlprofiler/qmlprofilerdatamodel.h index 579b2f6b043..ce2bf477565 100644 --- a/src/plugins/qmlprofiler/qmlprofilerdatamodel.h +++ b/src/plugins/qmlprofiler/qmlprofilerdatamodel.h @@ -51,7 +51,7 @@ public: void clear(); bool isEmpty() const; - void addEvent(const QmlEvent &event, const QmlEventType &type); + void addTypedEvent(const QmlEvent &event, const QmlEventType &type); void replayEvents(qint64 startTime, qint64 endTime, QmlProfilerModelManager::EventLoader loader) const; void finalize(); diff --git a/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp b/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp index c5ab27ccf55..6277ea81d4b 100644 --- a/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp +++ b/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp @@ -262,7 +262,7 @@ const char *QmlProfilerModelManager::featureName(ProfileFeature feature) void QmlProfilerModelManager::addQmlEvent(const QmlEvent &event, const QmlEventType &type) { QTC_ASSERT(state() == AcquiringData, return); - d->model->addEvent(event, type); + d->model->addTypedEvent(event, type); } void QmlProfilerModelManager::acquiringDone()