forked from qt-creator/qt-creator
QmlProfiler: Rename all the timeline model data structs to Item
This allows us to define a template for filling a QmlProfilerTimelineModel without spelling out all the type names. Change-Id: I97870287a795d95f58a949729afa715f145817bb Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -76,7 +76,7 @@ void QmlProfilerAnimationsModel::loadEvent(const QmlEvent &event, const QmlEvent
|
||||
|
||||
// Don't "fix" the framerate even if we've fixed the duration.
|
||||
// The server should know better after all and if it doesn't we want to see that.
|
||||
QmlPaintEventData lastEvent;
|
||||
Item lastEvent;
|
||||
lastEvent.typeId = event.typeIndex();
|
||||
lastEvent.framerate = event.number<qint32>(0);
|
||||
lastEvent.animationcount = event.number<qint32>(1);
|
||||
|
||||
Reference in New Issue
Block a user