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:
Ulf Hermann
2014-09-02 12:19:33 +02:00
parent 9e52d0c6d4
commit 2677e33782
9 changed files with 11 additions and 11 deletions

View File

@@ -66,7 +66,7 @@ function drawData(canvas, ctxt)
xx = Math.round(xx);
var itemHeight = qmlProfilerModelProxy.height(modelIndex,ii) * blockHeight;
var itemHeight = qmlProfilerModelProxy.relativeHeight(modelIndex, ii) * blockHeight;
var yy = (modelIndex + 1) * blockHeight - itemHeight ;
ctxt.fillStyle = qmlProfilerModelProxy.color(modelIndex, ii);