forked from qt-creator/qt-creator
Analyzer: Use a StandardRunnable instead of an AnalyzerRunnable
... with a lot potential to code consolidation. Change-Id: I4d3a7fcc1cc6ae8763799f18cf9701695f387791 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -194,9 +194,9 @@ RunControl *IosRunControlFactory::create(RunConfiguration *runConfig,
|
||||
if (device.isNull())
|
||||
return 0;
|
||||
auto iosRunConfig = qobject_cast<IosRunConfiguration *>(runConfig);
|
||||
AnalyzerRunnable runnable;
|
||||
runnable.debuggee = iosRunConfig->localExecutable().toUserOutput();
|
||||
runnable.debuggeeArgs = iosRunConfig->commandLineArguments();
|
||||
StandardRunnable runnable;
|
||||
runnable.executable = iosRunConfig->localExecutable().toUserOutput();
|
||||
runnable.commandLineArguments = iosRunConfig->commandLineArguments();
|
||||
AnalyzerConnection connection;
|
||||
connection.analyzerHost = QLatin1String("localhost");
|
||||
runControl->setRunnable(runnable);
|
||||
|
||||
Reference in New Issue
Block a user