Commit efad927f authored by hjk's avatar hjk

Analyzer: Remove AnalyzerStartParameter::useStartupProject

Not used anymore.

Change-Id: I97da63a3bfabbdcf5ccbd36178832ea47d913d04
Reviewed-by: default avatarUlf Hermann <ulf.hermann@theqtcompany.com>
parent aa0d68ec
......@@ -49,16 +49,10 @@ namespace Analyzer {
class ANALYZER_EXPORT AnalyzerStartParameters
{
public:
AnalyzerStartParameters()
: useStartupProject(true),
localRunMode(ProjectExplorer::ApplicationLauncher::Gui),
analyzerPort(0)
{}
bool useStartupProject;
ProjectExplorer::RunMode runMode;
QSsh::SshConnectionParameters connParams;
ProjectExplorer::ApplicationLauncher::Mode localRunMode;
ProjectExplorer::ApplicationLauncher::Mode localRunMode
= ProjectExplorer::ApplicationLauncher::Gui;
QString debuggee;
QString debuggeeArgs;
......@@ -67,7 +61,7 @@ public:
QString workingDirectory;
QString sysroot;
QString analyzerHost;
quint16 analyzerPort;
quint16 analyzerPort = 0;
};
} // namespace Analyzer
......
......@@ -72,8 +72,7 @@ bool AnalyzerAction::isRunnable(QString *reason) const
AnalyzerRunControl *AnalyzerAction::tryCreateRunControl(const AnalyzerStartParameters &sp, RunConfiguration *runConfiguration) const
{
const bool useStartupProject = !m_customToolStarter;
if (m_runMode == sp.runMode && useStartupProject == sp.useStartupProject)
if (m_runMode == sp.runMode)
return m_runControlCreator(sp, runConfiguration);
return 0;
}
......
......@@ -476,7 +476,6 @@ void QmlProfilerTool::startRemoteTool()
}
AnalyzerStartParameters sp;
sp.useStartupProject = false;
IDevice::ConstPtr device = DeviceKitInformation::device(kit);
if (device) {
......
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