Commit fa6520ed authored by Tobias Hunger's avatar Tobias Hunger
Browse files

ProjectExplorer: Do not try to add a nullptr to the project tree

Change-Id: Id6dedc11b9dac8be48fb579e171e4cec6efe1aa1
Reviewed-by: Tobias Hunger's avatarTobias Hunger <>
Reviewed-by: default avatarhjk <>
parent 8ddfe96f
......@@ -238,7 +238,7 @@ ExpandData FlatModel::expandDataForNode(const Node *node) const
void FlatModel::handleProjectAdded(Project *project)
Node *node = project->rootProjectNode();
Node *node = project->containerNode();
if (WrapperNode *wrapper = wrapperForNode(node)) {
wrapper->forFirstLevelChildren([this](WrapperNode *child) {
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