forked from qt-creator/qt-creator
Avoid going through ICore when it's not necessary
Many singletons have their own instance() method, in which case there is no need to use ICore::instance() to get access to them.
This commit is contained in:
@@ -89,8 +89,8 @@ Qt4Manager::Qt4Manager(Qt4ProjectManagerPlugin *plugin)
|
||||
m_contextProject(0),
|
||||
m_languageID(0)
|
||||
{
|
||||
m_languageID = Core::ICore::instance()->uniqueIDManager()->
|
||||
uniqueIdentifier(ProjectExplorer::Constants::LANG_CXX);
|
||||
m_languageID = Core::UniqueIDManager::instance()->
|
||||
uniqueIdentifier(ProjectExplorer::Constants::LANG_CXX);
|
||||
}
|
||||
|
||||
Qt4Manager::~Qt4Manager()
|
||||
|
||||
Reference in New Issue
Block a user