forked from qt-creator/qt-creator
QmlProfiler: rename relative height of timeline items to "relativeHeight"
This clarifies that the item height is not absolute but relative to the row height, and it reduces the ambiguity of the various "height" methods. Change-Id: I391441147c88b47a14e539fc3853702bb517d27b Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -224,9 +224,9 @@ QColor TimelineModelAggregator::color(int modelIndex, int index) const
|
||||
return d->modelList[modelIndex]->color(index);
|
||||
}
|
||||
|
||||
float TimelineModelAggregator::height(int modelIndex, int index) const
|
||||
float TimelineModelAggregator::relativeHeight(int modelIndex, int index) const
|
||||
{
|
||||
return d->modelList[modelIndex]->height(index);
|
||||
return d->modelList[modelIndex]->relativeHeight(index);
|
||||
}
|
||||
|
||||
QVariantList TimelineModelAggregator::labels(int modelIndex) const
|
||||
|
||||
Reference in New Issue
Block a user