aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/insight/insightmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/insight/insightmodel.cpp')
-rw-r--r--src/plugins/insight/insightmodel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/insight/insightmodel.cpp b/src/plugins/insight/insightmodel.cpp
index 4fe987a5977..b80249d2124 100644
--- a/src/plugins/insight/insightmodel.cpp
+++ b/src/plugins/insight/insightmodel.cpp
@@ -12,8 +12,8 @@
#include <qmldesignerplugin.h>
#include <projectexplorer/project.h>
+#include <projectexplorer/projectmanager.h>
#include <projectexplorer/projecttree.h>
-#include <projectexplorer/session.h>
#include <projectexplorer/target.h>
#include <qtsupport/qtkitinformation.h>
@@ -211,8 +211,8 @@ InsightModel::InsightModel(InsightView *view, ExternalDependenciesInterface &ext
, m_externalDependencies(externalDependencies)
, m_fileSystemWatcher(new Utils::FileSystemWatcher(this))
{
- QObject::connect(ProjectExplorer::SessionManager::instance(),
- &ProjectExplorer::SessionManager::startupProjectChanged,
+ QObject::connect(ProjectExplorer::ProjectManager::instance(),
+ &ProjectExplorer::ProjectManager::startupProjectChanged,
this,
[&](ProjectExplorer::Project *project) {
if (project)