Fix a crash when using file nodes to change the project. The methods used to take const references, with the data living in the nodes of the project tree. Since the methods change the project tree and thus cause the tree to be rebuilt, the original data may get lost. So copy the data instead. All the qbs::*Data classes are using shared data, so the overhead is not too big. Task-number: QTCREATORBUG-18440 Change-Id: I45ca5403a04e17790416dfe15b836f12c732e824 Reviewed-by: Eike Ziller <email@example.com> Reviewed-by: Tim Jenssen <firstname.lastname@example.org> Reviewed-by: Christian Kandeler <email@example.com>56db0df2
To find the state of this project's repository at the time of any of these versions, check out the tags.