ProjectExplorer: Remove Runnable::device

Not used anymore.

Change-Id: Ic22037d67df890b8fb46bf0dcb6b6513dddddb14
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2022-05-25 14:18:26 +02:00
parent dc8faf2964
commit aa5e39d7bf
2 changed files with 0 additions and 3 deletions

View File

@@ -1510,7 +1510,6 @@ void SimpleTargetRunnerPrivate::forwardStarted()
void SimpleTargetRunner::start()
{
d->m_runnable = runControl()->runnable();
d->m_runnable.device = runControl()->device();
if (d->m_startModifier)
d->m_startModifier();
@@ -1573,7 +1572,6 @@ void SimpleTargetRunner::setWorkingDirectory(const FilePath &workingDirectory)
void SimpleTargetRunner::forceRunOnHost()
{
d->m_runnable.device = {};
const FilePath executable = d->m_runnable.command.executable();
if (executable.needsDevice()) {
QTC_CHECK(false);

View File

@@ -67,7 +67,6 @@ public:
Utils::CommandLine command;
Utils::FilePath workingDirectory;
Utils::Environment environment;
IDeviceConstPtr device; // Override the kit's device. Keep unset by default.
QVariantHash extraData;
};