diff options
| author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2014-11-26 18:44:38 +0100 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2014-11-28 11:24:05 +0100 |
| commit | f8e8d14bd4bf505bcee7415cfc991cc8d90a2671 (patch) | |
| tree | 9b6803d4619864abd8be59ef41326b4d80c8a698 /src | |
| parent | 796fdb82cb9835fed76de70dc7590419ff13a979 (diff) | |
| download | qt-creator-f8e8d14bd4bf505bcee7415cfc991cc8d90a2671.tar.gz | |
QmlProfiler: Don't draw note markers for hidden categories
Change-Id: I6a2104522896fafb70d09c5872cb9641f45db5f4
Task-number: QTCREATORBUG-13533
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/plugins/qmlprofiler/timelinerenderer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/qmlprofiler/timelinerenderer.cpp b/src/plugins/qmlprofiler/timelinerenderer.cpp index 73e71388d1..a80afadaa6 100644 --- a/src/plugins/qmlprofiler/timelinerenderer.cpp +++ b/src/plugins/qmlprofiler/timelinerenderer.cpp @@ -338,6 +338,8 @@ void TimelineRenderer::drawNotes(QPainter *p) if (managerIndex == -1) continue; int modelIndex = m_profilerModelProxy->modelIndexFromManagerIndex(managerIndex); + if (m_profilerModelProxy->hidden(modelIndex)) + continue; int eventIndex = notes->timelineIndex(i); int row = m_profilerModelProxy->row(modelIndex, eventIndex); int rowHeight = m_profilerModelProxy->rowHeight(modelIndex, row); |
