forked from qt-creator/qt-creator
QmlProfiler: remove eventType and simplify nesting calculations
With only one category per model we only have one eventType per model and thus we don't need to differentiate per type anymore when calculating the nesting. Change-Id: Ic42a1c5c056f3480b7842a57fbff66a5e907abfb Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -175,11 +175,6 @@ int TimelineModelAggregator::findLastIndex(int modelIndex, qint64 endTime) const
|
||||
return d->modelList[modelIndex]->findLastIndex(endTime);
|
||||
}
|
||||
|
||||
int TimelineModelAggregator::getEventType(int modelIndex, int index) const
|
||||
{
|
||||
return d->modelList[modelIndex]->getEventType(index);
|
||||
}
|
||||
|
||||
int TimelineModelAggregator::getEventRow(int modelIndex, int index) const
|
||||
{
|
||||
return d->modelList[modelIndex]->getEventRow(index);
|
||||
|
||||
Reference in New Issue
Block a user