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:
@@ -102,7 +102,7 @@ int DebugMessagesModel::collapsedRow(int index) const
|
||||
void DebugMessagesModel::loadEvent(const QmlEvent &event, const QmlEventType &type)
|
||||
{
|
||||
m_data.insert(insert(event.timestamp(), 0, type.detailType()),
|
||||
MessageData(event.string(), event.typeIndex()));
|
||||
Item(event.string(), event.typeIndex()));
|
||||
if (type.detailType() > m_maximumMsgType)
|
||||
m_maximumMsgType = type.detailType();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user