forked from qt-creator/qt-creator
QmlProfiler: Fix another type/event misnomer
Change-Id: I135c4355b36f0ce7fe0aa2e108dbab1a7dc866e3 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
@@ -55,9 +55,9 @@ void QmlProfilerAnimationsModel::clear()
|
|||||||
QmlProfilerTimelineModel::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)
|
void QmlProfilerAnimationsModel::loadEvent(const QmlEvent &event, const QmlEventType &type)
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ public:
|
|||||||
QVariantMap details(int index) const override;
|
QVariantMap details(int index) const override;
|
||||||
|
|
||||||
protected:
|
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 loadEvent(const QmlEvent &event, const QmlEventType &type) override;
|
||||||
void finalize() override;
|
void finalize() override;
|
||||||
void clear() override;
|
void clear() override;
|
||||||
|
|||||||
Reference in New Issue
Block a user