forked from qt-creator/qt-creator
Analyzer: Remove AnalyzerStartParameter::useStartupProject
Not used anymore. Change-Id: I97da63a3bfabbdcf5ccbd36178832ea47d913d04 Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user