Commit 8c9e9383 authored by dt's avatar dt
Browse files

Fixes: Crash in the flat model on certain changes to the pro file.

Task:     240180
Details:  Hopefully fixes a few crashes people have reported.
parent cda38c23
......@@ -1144,7 +1144,7 @@ void FlatModel::foldersAboutToBeRemoved(FolderNode *parentFolder, const QList<Fo
FolderNode *folderNode = visibleFolderNode(parentFolder);
QList<Node *> newNodeList = childNodes(folderNode, blackList);
removed(parentFolder, newNodeList);
removed(folderNode, newNodeList);
removeFromCache(staleFolders);
}
......
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