forked from qt-creator/qt-creator
QmlProfiler: Move parts of model manager and trace file to Timeline
This way we can use the trace file loading and saving mechanism for other profilers. Change-Id: I98ec1cdde6f7abcea152cabf72e64d4e696dfa59 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -102,6 +102,7 @@ void QmlProfilerAnimationsModel::finalize()
|
||||
computeNesting();
|
||||
setExpandedRowCount((m_maxGuiThreadAnimations == 0 || m_maxRenderThreadAnimations == 0) ? 2 : 3);
|
||||
setCollapsedRowCount(expandedRowCount());
|
||||
QmlProfilerTimelineModel::finalize();
|
||||
}
|
||||
|
||||
int QmlProfilerAnimationsModel::rowFromThreadId(int threadId) const
|
||||
|
||||
Reference in New Issue
Block a user