Commit f224667d authored by Daniel Teske's avatar Daniel Teske Committed by hjk
Browse files

AnalyzerManager: Remove more dead code



Change-Id: I4a1bdd9c5f4ea0b44e7dc9b5fbf7c87ae4dbc15a
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 571734c6
......@@ -219,8 +219,6 @@ public:
// list of dock widgets to prevent memory leak
typedef QWeakPointer<QDockWidget> DockPtr;
QList<DockPtr> m_dockWidgets;
bool m_restartOnStop;
};
AnalyzerManagerPrivate::AnalyzerManagerPrivate(AnalyzerManager *qq):
......@@ -235,8 +233,7 @@ AnalyzerManagerPrivate::AnalyzerManagerPrivate(AnalyzerManager *qq):
m_menu(0),
m_toolBox(new QComboBox),
m_controlsStackWidget(new QStackedWidget),
m_statusLabel(new Utils::StatusLabel),
m_restartOnStop(false)
m_statusLabel(new Utils::StatusLabel)
{
m_toolBox->setObjectName(QLatin1String("AnalyzerManagerToolBox"));
connect(m_toolBox, SIGNAL(activated(int)), SLOT(selectToolboxAction(int)));
......@@ -713,11 +710,6 @@ void AnalyzerManagerPrivate::handleToolFinished()
{
m_isRunning = false;
updateRunActions();
if (m_restartOnStop) {
m_currentTool->startTool(m_currentMode);
m_restartOnStop = false;
}
}
void AnalyzerManagerPrivate::loadToolSettings(IAnalyzerTool *tool)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment