diff options
Diffstat (limited to 'src/plugins/projectexplorer/projectfilewizardextension.cpp')
-rw-r--r-- | src/plugins/projectexplorer/projectfilewizardextension.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/projectfilewizardextension.cpp b/src/plugins/projectexplorer/projectfilewizardextension.cpp index 6a858f6cb9..f38e4bcb48 100644 --- a/src/plugins/projectexplorer/projectfilewizardextension.cpp +++ b/src/plugins/projectexplorer/projectfilewizardextension.cpp @@ -107,7 +107,7 @@ private: ProjectNodeList AllProjectNodesVisitor::allProjects(ProjectNode::ProjectAction action) { AllProjectNodesVisitor visitor(action); - ProjectExplorerPlugin::instance()->session()->sessionNode()->accept(&visitor); + SessionManager::sessionNode()->accept(&visitor); return visitor.m_projectNodes; } @@ -557,8 +557,7 @@ void ProjectFileWizardExtension::applyCodeStyle(Core::GeneratedFile *file) const if (projectIndex >= 0 && projectIndex < m_context->projects.size()) project = m_context->projects.at(projectIndex).node; - ProjectExplorer::Project *baseProject - = ProjectExplorer::ProjectExplorerPlugin::instance()->session()->projectForNode(project); + Project *baseProject = SessionManager::projectForNode(project); TextEditor::ICodeStylePreferencesFactory *factory = TextEditor::TextEditorSettings::instance()->codeStyleFactory(languageId); |