analyzer: cleanup

This commit is contained in:
hjk
2011-05-18 15:56:01 +02:00
parent 64eba7e1dd
commit df91b0bbfb
28 changed files with 76 additions and 141 deletions

View File

@@ -709,7 +709,6 @@ void AnalyzerManager::addTool(IAnalyzerTool *tool)
{
d->delayedInit(); // be sure that there is a valid IMode instance
Internal::AnalyzerPlugin *plugin = Internal::AnalyzerPlugin::instance();
QAction *action = new QAction(tool->displayName(), d->m_toolGroup);
action->setData(d->m_tools.count());
action->setCheckable(true);
@@ -736,8 +735,7 @@ void AnalyzerManager::addTool(IAnalyzerTool *tool)
d->m_toolBox->setEnabled(d->m_toolBox->count() > 1);
tool->initialize(plugin);
tool->initialize();
}
QDockWidget *AnalyzerManager::createDockWidget(IAnalyzerTool *tool, const QString &title,