forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user