QmlProfiler: Fix another type/event misnomer

Change-Id: I135c4355b36f0ce7fe0aa2e108dbab1a7dc866e3
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2016-06-10 11:15:22 +02:00
parent 835ab0c44f
commit 4f7477872b
2 changed files with 3 additions and 3 deletions

View File

@@ -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)

View File

@@ -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;