Analyzer: Remove unused AnalyzerStartParameter::toolId member

Change-Id: I34e713ec1c9de99584ba206cfa1e38cd46e880fc
Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
This commit is contained in:
hjk
2013-07-31 09:11:53 +02:00
parent cad3b13bbd
commit baed8a12ff
7 changed files with 1 additions and 8 deletions

View File

@@ -35,7 +35,6 @@
#include <QMetaType>
#include <coreplugin/id.h>
#include <ssh/sshconnection.h>
#include <utils/environment.h>
#include <projectexplorer/projectexplorerconstants.h>
@@ -55,7 +54,6 @@ public:
ProjectExplorer::RunMode runMode;
QSsh::SshConnectionParameters connParams;
Core::Id toolId;
QString debuggee;
QString debuggeeArgs;
QString analyzerCmdPrefix;

View File

@@ -34,6 +34,7 @@
#include "analyzerbase_global.h"
#include "analyzerstartparameters.h"
#include <coreplugin/id.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <QObject>

View File

@@ -61,7 +61,6 @@ RunControl *AndroidAnalyzeSupport::createAnalyzeRunControl(AndroidRunConfigurati
}
AnalyzerStartParameters params;
params.toolId = tool->id();
params.runMode = runMode;
Target *target = runConfig->target();
params.displayName = AndroidManager::packageName(target);

View File

@@ -112,7 +112,6 @@ static AnalyzerStartParameters createQmlProfilerStartParameters(RunConfiguration
sp.analyzerPort = server.serverPort();
}
sp.startMode = StartQml;
sp.toolId = "QmlProfiler";
return sp;
}

View File

@@ -465,7 +465,6 @@ static void startRemoteTool(IAnalyzerTool *tool, StartMode mode)
}
AnalyzerStartParameters sp;
sp.toolId = tool->id();
sp.startMode = mode;
IDevice::ConstPtr device = DeviceKitInformation::device(kit);

View File

@@ -67,7 +67,6 @@ static void startRemoteTool(IAnalyzerTool *tool)
return;
AnalyzerStartParameters sp;
sp.toolId = tool->id();
sp.startMode = StartRemote;
sp.connParams = dlg.sshParams();
sp.debuggee = dlg.executable();

View File

@@ -116,8 +116,6 @@ RunControl *ValgrindRunControlFactory::create(RunConfiguration *runConfiguration
QTC_ASSERT(canRun(runConfiguration, mode), return 0);
AnalyzerStartParameters sp = createValgrindStartParameters(runConfiguration);
sp.toolId = tool->id();
return tool->createRunControl(sp, runConfiguration);
}