aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/jsonwizard
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2017-12-04 13:53:38 +0100
committerTobias Hunger <tobias.hunger@qt.io>2017-12-12 13:44:09 +0000
commit7c35a3810023b7cb02550ef3ef6af62826545827 (patch)
tree1524096544cf17b5b9e4de35693bf26d0ee44398 /src/plugins/projectexplorer/jsonwizard
parent34b8ed14842ab360604e8d30993772fe474d22d6 (diff)
Session: Move all functionality related to Nodes into ProjectTree
Do no longer expose Nodes from the SessionManager's API. These are now exclusively handled by the ProjectTree. Change-Id: I585c2ac919462073870363436e767640775d9045 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/jsonwizard')
-rw-r--r--src/plugins/projectexplorer/jsonwizard/jsonsummarypage.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/jsonwizard/jsonsummarypage.cpp b/src/plugins/projectexplorer/jsonwizard/jsonsummarypage.cpp
index 27b4b682ab..840c59d0f2 100644
--- a/src/plugins/projectexplorer/jsonwizard/jsonsummarypage.cpp
+++ b/src/plugins/projectexplorer/jsonwizard/jsonsummarypage.cpp
@@ -29,6 +29,7 @@
#include "../project.h"
#include "../projectexplorerconstants.h"
#include "../projectnodes.h"
+#include "../projecttree.h"
#include "../session.h"
#include "../projecttree.h"
@@ -245,7 +246,7 @@ void JsonSummaryPage::updateFileList()
void JsonSummaryPage::updateProjectData(FolderNode *node)
{
- Project *project = SessionManager::projectForNode(node);
+ Project *project = ProjectTree::projectForNode(node);
m_wizard->setValue(QLatin1String(KEY_SELECTED_PROJECT), QVariant::fromValue(project));
m_wizard->setValue(QLatin1String(KEY_SELECTED_NODE), QVariant::fromValue(node));