Commit 57e2d518 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make sure to delete pointer

parent 09787f74
Pipeline #25734 passed with stage
in 39 minutes and 17 seconds
......@@ -1402,6 +1402,7 @@ void EntityTreeModelPrivate::startFirstListJob()
// Otherwise store it silently because it's not part of the usable model.
delete m_rootNode;
m_rootNode = node;
m_needDeleteRootNode = true;
m_collections.insert(, m_rootCollection);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment