forked from qt-creator/qt-creator
QmlProfiler: Don't draw note markers for hidden categories
Change-Id: I6a2104522896fafb70d09c5872cb9641f45db5f4 Task-number: QTCREATORBUG-13533 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user