forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user