Session: Update SessionNode when Project tree changes

This moves ownership of the project's root node from the
project into the project tree!

Change-Id: I84eba884bd63b44e56c75023d8bf12caf5cc2833
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Tobias Hunger
2017-03-03 14:40:02 +01:00
parent 707990632c
commit 71a5aee36f
6 changed files with 36 additions and 13 deletions

View File

@@ -465,8 +465,6 @@ void FolderNode::buildTree(QList<FileNode *> &files, const Utils::FileName &over
overrideBaseDir);
folder->addNode(fn);
}
emitTreeChanged();
}
// "Compress" a tree of foldernodes such that foldernodes with exactly one foldernode as a child