Also make ProjectLanguage a proper context

This commit is contained in:
dt
2010-07-02 14:00:05 +02:00
parent 0801047287
commit dd0978796e
9 changed files with 16 additions and 22 deletions

View File

@@ -52,9 +52,8 @@ using namespace CMakeProjectManager::Internal;
CMakeManager::CMakeManager(CMakeSettingsPage *cmakeSettingsPage)
: m_settingsPage(cmakeSettingsPage)
{
Core::UniqueIDManager *uidm = Core::UniqueIDManager::instance();
m_projectContext = Core::Context(CMakeProjectManager::Constants::PROJECTCONTEXT);
m_projectLanguage = uidm->uniqueIdentifier(ProjectExplorer::Constants::LANG_CXX);
m_projectLanguage = Core::Context(ProjectExplorer::Constants::LANG_CXX);
}
Core::Context CMakeManager::projectContext() const
@@ -62,7 +61,7 @@ Core::Context CMakeManager::projectContext() const
return m_projectContext;
}
int CMakeManager::projectLanguage() const
Core::Context CMakeManager::projectLanguage() const
{
return m_projectLanguage;
}