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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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