forked from qt-creator/qt-creator
QmlProfiler: Don't add an extra nanosecond to the flame graph bottom
Change-Id: Icda2b69363439de92a012a0cf46b8084b69d777d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -63,7 +63,7 @@ FlameGraphModel::FlameGraphModel(QmlProfilerModelManager *modelManager,
|
||||
void FlameGraphModel::clear()
|
||||
{
|
||||
beginResetModel();
|
||||
m_stackBottom = FlameGraphData(0, -1, 1);
|
||||
m_stackBottom = FlameGraphData(0, -1, 0);
|
||||
m_callStack.clear();
|
||||
m_compileStack.clear();
|
||||
m_callStack.append(QmlEvent());
|
||||
|
||||
Reference in New Issue
Block a user