forked from qt-creator/qt-creator
ClangStaticAnalyzer: Remove initializeEnterpriseFeatures
Should have been removed in e775ff3049.
Change-Id: I5e2d3755c892cf1c1d9a6729b3b6e372ffcf4c62
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
61eac17c29
commit
08370e8318
@@ -113,19 +113,14 @@ bool ClangStaticAnalyzerPlugin::initialize(const QStringList &arguments, QString
|
|||||||
// In the initialize method, a plugin can be sure that the plugins it
|
// In the initialize method, a plugin can be sure that the plugins it
|
||||||
// depends on have initialized their members.
|
// depends on have initialized their members.
|
||||||
|
|
||||||
|
Q_UNUSED(arguments);
|
||||||
|
Q_UNUSED(errorString);
|
||||||
|
|
||||||
auto panelFactory = new ProjectExplorer::ProjectPanelFactory();
|
auto panelFactory = new ProjectExplorer::ProjectPanelFactory();
|
||||||
panelFactory->setPriority(100);
|
panelFactory->setPriority(100);
|
||||||
panelFactory->setDisplayName(tr("Clang Static Analyzer Settings"));
|
panelFactory->setDisplayName(tr("Clang Static Analyzer Settings"));
|
||||||
panelFactory->setSimpleCreateWidgetFunction<ProjectSettingsWidget>(QIcon());
|
panelFactory->setSimpleCreateWidgetFunction<ProjectSettingsWidget>(QIcon());
|
||||||
ProjectExplorer::ProjectPanelFactory::registerFactory(panelFactory);
|
ProjectExplorer::ProjectPanelFactory::registerFactory(panelFactory);
|
||||||
return initializeEnterpriseFeatures(arguments, errorString);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool ClangStaticAnalyzerPlugin::initializeEnterpriseFeatures(const QStringList &arguments,
|
|
||||||
QString *errorString)
|
|
||||||
{
|
|
||||||
Q_UNUSED(arguments);
|
|
||||||
Q_UNUSED(errorString);
|
|
||||||
|
|
||||||
auto tool = m_analyzerTool = new ClangStaticAnalyzerTool(this);
|
auto tool = m_analyzerTool = new ClangStaticAnalyzerTool(this);
|
||||||
addAutoReleasedObject(new ClangStaticAnalyzerRunControlFactory(m_analyzerTool));
|
addAutoReleasedObject(new ClangStaticAnalyzerRunControlFactory(m_analyzerTool));
|
||||||
|
|||||||
Reference in New Issue
Block a user