Commit 7958565c authored by Daniel Teske's avatar Daniel Teske
Browse files

ProjectTree: Fix crashes on removing folder nodes

The code that invalidates m_currentNode folder nodes on removing wasn't
run due to a typo.

Change-Id: Ib7d545da4078275b2875c9a4c6246909234c8073
Reviewed-by: default avatarChristian Kandeler <>
parent f3220dd4
......@@ -654,7 +654,7 @@ void ProjectNode::removeProjectNodes(const QList<ProjectNode*> &subProjects)
toRemove << projectNode;
ProjectTree::instance()->foldersAboutToBeRemoved(this, toRemove);
ProjectTree::instance()->emitFoldersAboutToBeRemoved(this, toRemove);
QList<FolderNode*>::const_iterator toRemoveIter = toRemove.constBegin();
QList<FolderNode*>::iterator folderIter = m_subFolderNodes.begin();
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