Commit 3c915709 authored by dt's avatar dt
Browse files

Revert "Fix crash for newly added project nodes"

Actually that's not correct, the projectNode() of ProjectNodes is set in
the constructor to "this".
This reverts commit 123e2b6c.
parent 2bd2373b
......@@ -316,8 +316,6 @@ void ProjectNode::addProjectNodes(const QList<ProjectNode*> &subProjects)
QTC_ASSERT(!project->parentFolderNode(),
qDebug("Project node has already a parent"));
project->setParentFolderNode(this);
project->setProjectNode(this);
foreach (NodesWatcher *watcher, m_watchers)
project->registerWatcher(watcher);
m_subFolderNodes.append(project);
......
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