forked from qt-creator/qt-creator
QmlProfiler: Rename QmlEvent::startTime to "timestamp"
As many events are instantaneous and we're going to drop the duration property soon, this is more fitting. Change-Id: I6e13dd076a5b9df16aed44bf9f631ea5760e9cbf Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -109,10 +109,10 @@ void DebugMessagesModel::loadData()
|
||||
|
||||
foreach (const QmlEvent &event, simpleModel->events()) {
|
||||
const QmlEventType &type = types[event.typeIndex()];
|
||||
if (!accepted(type) || event.startTime() < 0)
|
||||
if (!accepted(type) || event.timestamp() < 0)
|
||||
continue;
|
||||
|
||||
m_data.insert(insert(event.startTime(), 0, type.detailType),
|
||||
m_data.insert(insert(event.timestamp(), 0, type.detailType),
|
||||
MessageData(event.stringData(), event.typeIndex()));
|
||||
if (type.detailType > m_maximumMsgType)
|
||||
m_maximumMsgType = event.typeIndex();
|
||||
|
||||
Reference in New Issue
Block a user