diff options
author | hjk <hjk121@nokiamail.com> | 2013-09-27 16:30:20 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2013-10-14 13:35:59 +0200 |
commit | f463c4dade38ab609af1b30c047ecae2bc97a010 (patch) | |
tree | 0a0d068ffd99c58ce7d9a8d62553b79161f979b8 /src/plugins/genericprojectmanager | |
parent | c8fa68fe9ae15d0efd3039ba370674fbc4d21685 (diff) | |
download | qt-creator-f463c4dade38ab609af1b30c047ecae2bc97a010.tar.gz |
ProjectExplorer: Make Project::id value based
Change-Id: Ie210d2a068158c6caaac66aae58cbd886f61c18d
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/genericprojectmanager')
-rw-r--r-- | src/plugins/genericprojectmanager/genericproject.cpp | 6 | ||||
-rw-r--r-- | src/plugins/genericprojectmanager/genericproject.h | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/plugins/genericprojectmanager/genericproject.cpp b/src/plugins/genericprojectmanager/genericproject.cpp index 784f425235..2af8354999 100644 --- a/src/plugins/genericprojectmanager/genericproject.cpp +++ b/src/plugins/genericprojectmanager/genericproject.cpp @@ -69,6 +69,7 @@ GenericProject::GenericProject(Manager *manager, const QString &fileName) : m_manager(manager), m_fileName(fileName) { + setId(Constants::GENERICPROJECT_ID); setProjectContext(Context(GenericProjectManager::Constants::PROJECTCONTEXT)); setProjectLanguages(Context(ProjectExplorer::Constants::LANG_CXX)); @@ -375,11 +376,6 @@ QString GenericProject::displayName() const return m_projectName; } -Id GenericProject::id() const -{ - return Id(Constants::GENERICPROJECT_ID); -} - IDocument *GenericProject::document() const { return m_creatorIDocument; diff --git a/src/plugins/genericprojectmanager/genericproject.h b/src/plugins/genericprojectmanager/genericproject.h index f4f2fb5457..0291485f18 100644 --- a/src/plugins/genericprojectmanager/genericproject.h +++ b/src/plugins/genericprojectmanager/genericproject.h @@ -60,7 +60,6 @@ public: QString configFileName() const; QString displayName() const; - Core::Id id() const; Core::IDocument *document() const; ProjectExplorer::IProjectManager *projectManager() const; |