forked from qt-creator/qt-creator
ProjectExplorer: Remove Runnable::device
Not used anymore. Change-Id: Ic22037d67df890b8fb46bf0dcb6b6513dddddb14 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -1510,7 +1510,6 @@ void SimpleTargetRunnerPrivate::forwardStarted()
|
|||||||
void SimpleTargetRunner::start()
|
void SimpleTargetRunner::start()
|
||||||
{
|
{
|
||||||
d->m_runnable = runControl()->runnable();
|
d->m_runnable = runControl()->runnable();
|
||||||
d->m_runnable.device = runControl()->device();
|
|
||||||
|
|
||||||
if (d->m_startModifier)
|
if (d->m_startModifier)
|
||||||
d->m_startModifier();
|
d->m_startModifier();
|
||||||
@@ -1573,7 +1572,6 @@ void SimpleTargetRunner::setWorkingDirectory(const FilePath &workingDirectory)
|
|||||||
|
|
||||||
void SimpleTargetRunner::forceRunOnHost()
|
void SimpleTargetRunner::forceRunOnHost()
|
||||||
{
|
{
|
||||||
d->m_runnable.device = {};
|
|
||||||
const FilePath executable = d->m_runnable.command.executable();
|
const FilePath executable = d->m_runnable.command.executable();
|
||||||
if (executable.needsDevice()) {
|
if (executable.needsDevice()) {
|
||||||
QTC_CHECK(false);
|
QTC_CHECK(false);
|
||||||
|
@@ -67,7 +67,6 @@ public:
|
|||||||
Utils::CommandLine command;
|
Utils::CommandLine command;
|
||||||
Utils::FilePath workingDirectory;
|
Utils::FilePath workingDirectory;
|
||||||
Utils::Environment environment;
|
Utils::Environment environment;
|
||||||
IDeviceConstPtr device; // Override the kit's device. Keep unset by default.
|
|
||||||
QVariantHash extraData;
|
QVariantHash extraData;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user