diff options
author | Daniel Teske <daniel.teske@digia.com> | 2013-09-30 15:59:49 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@digia.com> | 2013-10-01 16:31:36 +0200 |
commit | e462c9620d6f741da0d6b540e286616fcf31a89a (patch) | |
tree | 7121b6237ab05d8bd01a02f8bc20ce6dcb78ed7a /src/plugins/autotoolsprojectmanager | |
parent | fe62ad287fcec725d04eafc9c64de1c131790ff8 (diff) | |
download | qt-creator-e462c9620d6f741da0d6b540e286616fcf31a89a.tar.gz |
ProjectPart: Add meta information
Add displayname and project file path and a pointer back to the
project.
Change-Id: Ic9a18f52a6291493bd3a95fd3456ed0e1a3c63e3
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/plugins/autotoolsprojectmanager')
-rw-r--r-- | src/plugins/autotoolsprojectmanager/autotoolsproject.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp b/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp index 06c9fbb51c..2891954bf1 100644 --- a/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp +++ b/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp @@ -422,6 +422,9 @@ void AutotoolsProject::updateCppCodeModel() CppTools::CppModelManagerInterface::ProjectInfo pinfo = modelManager->projectInfo(this); pinfo.clearProjectParts(); CppTools::ProjectPart::Ptr part(new CppTools::ProjectPart); + part->project = this; + part->displayName = displayName(); + part->projectFile = projectFilePath(); if (activeTarget()) { ProjectExplorer::Kit *k = activeTarget()->kit(); |