forked from qt-creator/qt-creator
ProjectExplorer: Make Project::id value based
Change-Id: Ie210d2a068158c6caaac66aae58cbd886f61c18d Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -60,7 +60,6 @@ public:
|
||||
QString configFileName() const;
|
||||
|
||||
QString displayName() const;
|
||||
Core::Id id() const;
|
||||
Core::IDocument *document() const;
|
||||
ProjectExplorer::IProjectManager *projectManager() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user