diff --git a/src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp b/src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp index e8fb41dd59a..e0945d5e352 100644 --- a/src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp +++ b/src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp @@ -55,9 +55,9 @@ void QmlProfilerAnimationsModel::clear() QmlProfilerTimelineModel::clear(); } -bool QmlProfilerAnimationsModel::accepted(const QmlEventType &event) const +bool QmlProfilerAnimationsModel::accepted(const QmlEventType &type) const { - return QmlProfilerTimelineModel::accepted(event) && event.detailType() == AnimationFrame; + return QmlProfilerTimelineModel::accepted(type) && type.detailType() == AnimationFrame; } void QmlProfilerAnimationsModel::loadEvent(const QmlEvent &event, const QmlEventType &type) diff --git a/src/plugins/qmlprofiler/qmlprofileranimationsmodel.h b/src/plugins/qmlprofiler/qmlprofileranimationsmodel.h index 4c1f66d7f3e..b9964a3924b 100644 --- a/src/plugins/qmlprofiler/qmlprofileranimationsmodel.h +++ b/src/plugins/qmlprofiler/qmlprofileranimationsmodel.h @@ -65,7 +65,7 @@ public: QVariantMap details(int index) const override; protected: - bool accepted(const QmlEventType &event) const override; + bool accepted(const QmlEventType &type) const override; void loadEvent(const QmlEvent &event, const QmlEventType &type) override; void finalize() override; void clear() override;