forked from qt-creator/qt-creator
RunControl: Drop IDevice * from doStart()
Use device set inside passed runnable instead. Grep for all usages of RunControl::start(). If passed device wasn't nullptr, set this device inside passed runnable. Otherwise ensure that passed runnable contains device set to nullptr. Change-Id: I06fd42a16246fa9fedd81eeb47481a217f887cb0 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1085,8 +1085,8 @@ DebugServerRunner::DebugServerRunner(RunControl *runControl, DebugServerPortsGat
|
||||
}
|
||||
}
|
||||
debugServer.command.setArguments(ProcessArgs::joinArgs(args, OsTypeLinux));
|
||||
|
||||
doStart(debugServer, runControl->device());
|
||||
debugServer.device = runControl->device();
|
||||
doStart(debugServer);
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user