diff --git a/src/plugins/projectexplorer/runcontrol.cpp b/src/plugins/projectexplorer/runcontrol.cpp index fba89d865be..251d20c2532 100644 --- a/src/plugins/projectexplorer/runcontrol.cpp +++ b/src/plugins/projectexplorer/runcontrol.cpp @@ -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); diff --git a/src/plugins/projectexplorer/runcontrol.h b/src/plugins/projectexplorer/runcontrol.h index ec7290a1947..3cf9ffcfd39 100644 --- a/src/plugins/projectexplorer/runcontrol.h +++ b/src/plugins/projectexplorer/runcontrol.h @@ -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; };