Commit 87995d65 authored by Tobias Hunger's avatar Tobias Hunger

Fix crash in Wizard code handling adding to the current project

This is a partial backport of f007db9c4560bd6e302aa288f855a8a08d92ce474
from the master branch.

Task-number: QTCREATORBUG-16194
Change-Id: I4f0223c53d34ae701f05385023d5466f3d372c9f
Reviewed-by: default avatarTim Jenssen <tim.jenssen@theqtcompany.com>
Reviewed-by: default avatarVikas Pachdha <vikas.pachdha@theqtcompany.com>
Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
parent d92b8edf
......@@ -94,7 +94,7 @@ AddNewTree::AddNewTree(const QString &displayName)
// Note the different handling of 'node' and m_canAdd.
AddNewTree::AddNewTree(FolderNode *node, QList<AddNewTree *> children, const QString &displayName)
: m_displayName(displayName),
m_node(0),
m_node(node),
m_canAdd(false),
m_priority(-1)
{
......
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