diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2017-03-16 15:03:45 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2017-03-17 16:33:12 +0000 |
commit | 2ff0d30829547d33f4f00b475a327eeee328cfb5 (patch) | |
tree | e88c79491a0723a8095e0a11f5f242a0d7df91cf /src/plugins/projectexplorer/projectnodes.h | |
parent | fdb40645a4d1c137e82a33353687ac9667aa14bc (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.h | 4 |
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. |