aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-06-10 11:15:22 +0200
committerUlf Hermann <ulf.hermann@qt.io>2016-07-04 07:31:27 +0000
commit4f7477872bf2350fe9509a41bfd03a557ec51a49 (patch)
treeb1d54724cef03bf5a1c02a0a74794e26b189adc8 /src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp
parent835ab0c44f4d58584d09e78555e285a5d451d34a (diff)
QmlProfiler: Fix another type/event misnomer
Change-Id: I135c4355b36f0ce7fe0aa2e108dbab1a7dc866e3 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp')
-rw-r--r--src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp4
1 files changed, 2 insertions, 2 deletions
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)