QmlProfiler: Make sure all binding loop markers are drawn

Binding loop markers aren't ordered in any particular way so we cannot
stop drawing them when we find an invisible one.

Change-Id: I16dcc96c15febc5cfe0203e23c1ca657714a2c25
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Ulf Hermann
2014-02-13 17:28:30 +01:00
parent 48a5fb4b13
commit 5dbbc74651

View File

@@ -233,7 +233,7 @@ void TimelineRenderer::drawBindingLoopMarkers(QPainter *p, int modelIndex, int f
int shadowoffset = 2;
if ((yfrom + radius + shadowoffset < 0 && yto + radius + shadowoffset < 0) ||
(yfrom - radius >= height() && yto - radius >= height()))
break;
continue;
// shadow
p->setPen(shadowPen);