aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/projectnodes.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2017-03-16 15:03:45 +0100
committerTobias Hunger <tobias.hunger@qt.io>2017-03-17 16:33:12 +0000
commit2ff0d30829547d33f4f00b475a327eeee328cfb5 (patch)
treee88c79491a0723a8095e0a11f5f242a0d7df91cf /src/plugins/projectexplorer/projectnodes.h
parentfdb40645a4d1c137e82a33353687ac9667aa14bc (diff)
ProjectExplorer: Move code to set up default project structure
Move the code used to set up the default project structure from the Project into the sessionmanager. Now that the models are no longer connected to the project this is the safer way as less change to the projects logic is required. Change-Id: Ib6b897f990a24d2dcce96a9821f090551fe45f13 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/projectnodes.h')
-rw-r--r--src/plugins/projectexplorer/projectnodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/projectnodes.h b/src/plugins/projectexplorer/projectnodes.h
index 03858db5e7..dd0c5d9afb 100644
--- a/src/plugins/projectexplorer/projectnodes.h
+++ b/src/plugins/projectexplorer/projectnodes.h
@@ -40,7 +40,7 @@ namespace Utils { class MimeType; }
namespace ProjectExplorer {
class RunConfiguration;
-class Project;
+class SessionManager;
enum class NodeType : quint16 {
File = 1,
@@ -302,7 +302,7 @@ protected:
// will add the persistent stuff
explicit ProjectNode(const Utils::FileName &projectFilePath);
- friend class Project;
+ friend class SessionManager;
};
// Documentation inside.