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:
@@ -43,7 +43,7 @@ class QmlProfilerAnimationsModel : public QmlProfilerTimelineModel
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
struct QmlPaintEventData {
|
||||
struct Item {
|
||||
int framerate;
|
||||
int animationcount;
|
||||
int typeId;
|
||||
@@ -69,7 +69,7 @@ public:
|
||||
void clear() override;
|
||||
|
||||
private:
|
||||
QVector<QmlProfilerAnimationsModel::QmlPaintEventData> m_data;
|
||||
QVector<Item> m_data;
|
||||
int m_maxGuiThreadAnimations = 0;
|
||||
int m_maxRenderThreadAnimations = 0;
|
||||
qint64 m_minNextStartTimes[2];
|
||||
|
||||
Reference in New Issue
Block a user