diff options
-rw-r--r-- | src/plugins/qbsprojectmanager/qbsproject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qbsprojectmanager/qbsproject.cpp b/src/plugins/qbsprojectmanager/qbsproject.cpp index b3264dfb59..96efcd1d6b 100644 --- a/src/plugins/qbsprojectmanager/qbsproject.cpp +++ b/src/plugins/qbsprojectmanager/qbsproject.cpp @@ -480,7 +480,7 @@ void QbsBuildSystem::updateProjectNodes(const std::function<void ()> &continuati m_treeCreationWatcher = new TreeCreationWatcher(this); connect(m_treeCreationWatcher, &TreeCreationWatcher::finished, this, [this, watcher = m_treeCreationWatcher, continuation] { - std::unique_ptr<QbsProjectNode> rootNode(m_treeCreationWatcher->result()); + std::unique_ptr<QbsProjectNode> rootNode(watcher->result()); if (watcher != m_treeCreationWatcher) { watcher->deleteLater(); return; |