QmlProfiler: rename requestId into typeId

No need to invent a new name for the same thing.

Change-Id: I370ec7be9c762642ae35e4f7a60ff9f5eb8ae3fe
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Ulf Hermann
2016-12-20 17:02:41 +01:00
parent 795b8bcb9e
commit 90e09f7658
4 changed files with 13 additions and 13 deletions

View File

@@ -267,11 +267,11 @@ void QmlProfilerDataModel::finalize()
d->detailsRewriter->reloadDocuments();
}
void QmlProfilerDataModel::detailsChanged(int requestId, const QString &newString)
void QmlProfilerDataModel::detailsChanged(int typeId, const QString &newString)
{
Q_D(QmlProfilerDataModel);
QTC_ASSERT(requestId < d->eventTypes.count(), return);
d->eventTypes[requestId].setData(newString);
QTC_ASSERT(typeId < d->eventTypes.count(), return);
d->eventTypes[typeId].setData(newString);
}
} // namespace QmlProfiler