Skip to content
Snippets Groups Projects
Commit f8e8d14b authored by Ulf Hermann's avatar Ulf Hermann
Browse files

QmlProfiler: Don't draw note markers for hidden categories


Change-Id: I6a2104522896fafb70d09c5872cb9641f45db5f4
Task-number: QTCREATORBUG-13533
Reviewed-by: default avatarKai Koehne <kai.koehne@theqtcompany.com>
parent 796fdb82
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment