forked from qt-creator/qt-creator
Analyzer: Remove now unneeded AnalyzerManager::m_tools member
Change-Id: If084739b81ab7486d667eabb665a272bc9020d2e Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -171,7 +171,6 @@ public:
|
||||
bool m_isRunning;
|
||||
Utils::FancyMainWindow *m_mainWindow;
|
||||
AnalyzerAction *m_currentAction;
|
||||
QList<IAnalyzerTool *> m_tools;
|
||||
QList<AnalyzerAction *> m_actions;
|
||||
QAction *m_startAction;
|
||||
QAction *m_stopAction;
|
||||
@@ -538,9 +537,6 @@ void AnalyzerManagerPrivate::addAction(AnalyzerAction *action)
|
||||
m_toolBox->addItem(action->text());
|
||||
m_toolBox->blockSignals(blocked);
|
||||
connect(action, SIGNAL(triggered()), SLOT(selectMenuAction()));
|
||||
|
||||
if (!m_tools.contains(tool))
|
||||
m_tools.append(tool);
|
||||
m_toolBox->setEnabled(true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user