forked from qt-creator/qt-creator
Tracing: Don't clear a temporary container
Change-Id: Icfa3c6bb7f6a64968106c7b3f65b1f2c32def0a4 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -177,7 +177,6 @@ int FlameGraph::buildNode(const QModelIndex &parentIndex, QObject *parentObject,
|
||||
void FlameGraph::rebuild()
|
||||
{
|
||||
qDeleteAll(childItems());
|
||||
childItems().clear();
|
||||
m_depth = 0;
|
||||
|
||||
if (!m_model) {
|
||||
|
Reference in New Issue
Block a user