forked from qt-creator/qt-creator
QmlProfiler: propagate selections from trace to event view by typeId
This is faster and more accurate than propagating by source location. Change-Id: I6aed3b1591380b49dd7c56a66bdc35912570e347 Task-number: QTCREATORBUG-12932 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -312,7 +312,7 @@ void QmlProfilerEventsWidget::copyRowToClipboard() const
|
||||
d->m_eventTree->copyRowToClipboard();
|
||||
}
|
||||
|
||||
void QmlProfilerEventsWidget::updateSelectedEvent(int typeIndex) const
|
||||
void QmlProfilerEventsWidget::selectByTypeId(int typeIndex) const
|
||||
{
|
||||
if (d->m_eventTree->selectedTypeId() != typeIndex)
|
||||
d->m_eventTree->selectType(typeIndex);
|
||||
|
||||
Reference in New Issue
Block a user