forked from qt-creator/qt-creator
Analyzer: Remove unused AnalyzerStartParameter::toolId member
Change-Id: I34e713ec1c9de99584ba206cfa1e38cd46e880fc Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
This commit is contained in:
@@ -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;
|
||||
|
@@ -34,6 +34,7 @@
|
||||
#include "analyzerbase_global.h"
|
||||
#include "analyzerstartparameters.h"
|
||||
|
||||
#include <coreplugin/id.h>
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
|
||||
#include <QObject>
|
||||
|
@@ -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);
|
||||
|
@@ -112,7 +112,6 @@ static AnalyzerStartParameters createQmlProfilerStartParameters(RunConfiguration
|
||||
sp.analyzerPort = server.serverPort();
|
||||
}
|
||||
sp.startMode = StartQml;
|
||||
sp.toolId = "QmlProfiler";
|
||||
return sp;
|
||||
}
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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();
|
||||
|
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user