diff options
author | Ulf Hermann <ulf.hermann@digia.com> | 2014-02-13 17:28:30 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@digia.com> | 2014-02-14 11:04:55 +0100 |
commit | 5dbbc74651174950382db0e2b184c0e1384fe9ea (patch) | |
tree | e6ea5a27fb59f773b18ebda444e38951a2bc5b1b /src/plugins | |
parent | 48a5fb4b138940348dcb96637594167acba1117d (diff) | |
download | qt-creator-5dbbc74651174950382db0e2b184c0e1384fe9ea.tar.gz |
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>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/qmlprofiler/timelinerenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/timelinerenderer.cpp b/src/plugins/qmlprofiler/timelinerenderer.cpp index 2bbf3c8906..04f9459110 100644 --- a/src/plugins/qmlprofiler/timelinerenderer.cpp +++ b/src/plugins/qmlprofiler/timelinerenderer.cpp @@ -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); |