forked from qt-creator/qt-creator
VCS: Do not check for existence of ProjectExplorer
All VCS plugins depend on the ProjectExplorer, so it is there. No need to test. Change-Id: Ie6ec210af0f63f1bdad0e4973743ae68f9279a5c Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -455,9 +455,8 @@ bool ClearCasePlugin::initialize(const QStringList & /*arguments */, QString *er
|
||||
m_settings.fromSettings(ICore::settings());
|
||||
|
||||
// update view name when changing active project
|
||||
if (ProjectExplorerPlugin *pe = ProjectExplorerPlugin::instance())
|
||||
connect(pe, SIGNAL(currentProjectChanged(ProjectExplorer::Project*)),
|
||||
this, SLOT(projectChanged(ProjectExplorer::Project*)));
|
||||
connect(ProjectExplorerPlugin::instance(), SIGNAL(currentProjectChanged(ProjectExplorer::Project*)),
|
||||
this, SLOT(projectChanged(ProjectExplorer::Project*)));
|
||||
|
||||
addAutoReleasedObject(new SettingsPage);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user