forked from qt-creator/qt-creator
Docker: Use rootPath() for Shell
Change-Id: Ie2578b768d8fcb91c55a33b4eb62e43c127ccee2 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -657,11 +657,7 @@ void DockerDevicePrivate::startContainer()
|
|||||||
if (!createContainer())
|
if (!createContainer())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
m_shell = std::make_unique<ContainerShell>(m_settings,
|
m_shell = std::make_unique<ContainerShell>(m_settings, m_container, q->rootPath());
|
||||||
m_container,
|
|
||||||
FilePath::fromString(
|
|
||||||
QString("device://%1/")
|
|
||||||
.arg(this->q->id().toString())));
|
|
||||||
|
|
||||||
connect(m_shell.get(), &DeviceShell::done, this, [this](const ProcessResultData &resultData) {
|
connect(m_shell.get(), &DeviceShell::done, this, [this](const ProcessResultData &resultData) {
|
||||||
if (resultData.m_error != QProcess::UnknownError
|
if (resultData.m_error != QProcess::UnknownError
|
||||||
|
Reference in New Issue
Block a user