Commit baed8a12 authored by hjk's avatar hjk

Analyzer: Remove unused AnalyzerStartParameter::toolId member

Change-Id: I34e713ec1c9de99584ba206cfa1e38cd46e880fc
Reviewed-by: default avatarAurindam Jana <aurindam.jana@digia.com>
parent cad3b13b
...@@ -35,7 +35,6 @@ ...@@ -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: ...@@ -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;
......
...@@ -34,6 +34,7 @@ ...@@ -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>
......
...@@ -61,7 +61,6 @@ RunControl *AndroidAnalyzeSupport::createAnalyzeRunControl(AndroidRunConfigurati ...@@ -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);
......
...@@ -112,7 +112,6 @@ static AnalyzerStartParameters createQmlProfilerStartParameters(RunConfiguration ...@@ -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;
} }
......
...@@ -465,7 +465,6 @@ static void startRemoteTool(IAnalyzerTool *tool, StartMode mode) ...@@ -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);
......
...@@ -67,7 +67,6 @@ static void startRemoteTool(IAnalyzerTool *tool) ...@@ -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();
......
...@@ -116,8 +116,6 @@ RunControl *ValgrindRunControlFactory::create(RunConfiguration *runConfiguration ...@@ -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);
} }
......
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