ProjectExplorer/RemoteLinux/Qnx: Use centralized access to device

ToolRunner have access to the RunControl, which have a device.
No need for another copy anymore.

Change-Id: I1b71cf2fad9ecbadba859b7963175c1b7057f94d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2017-04-05 16:14:58 +02:00
parent 0410f4e0ba
commit fa3d597e5f
6 changed files with 11 additions and 20 deletions

View File

@@ -1187,6 +1187,11 @@ void ToolRunner::appendMessage(const QString &msg, OutputFormat format)
m_runControl->appendMessage(msg, format);
}
IDevice::ConstPtr ToolRunner::device() const
{
return m_runControl->device();
}
// SimpleRunControl