forked from qt-creator/qt-creator
Docker: Fix and enable open shell in container
So far this had been restricted to Unix, but it works on all platforms. Change-Id: I578623341c906eca80a0dbc5fcc9b15e820d3597 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -551,12 +551,10 @@ DockerDevice::DockerDevice(const DockerDeviceData &data)
|
||||
proc->start();
|
||||
});
|
||||
|
||||
if (HostOsInfo::isAnyUnixHost()) {
|
||||
addDeviceAction({tr("Open Shell in Container"), [this](const IDevice::Ptr &device, QWidget *) {
|
||||
device->openTerminal(Environment(), FilePath());
|
||||
addDeviceAction({tr("Open Shell in Container"), [](const IDevice::Ptr &device, QWidget *) {
|
||||
device->openTerminal(device->systemEnvironment(), FilePath());
|
||||
}});
|
||||
}
|
||||
}
|
||||
|
||||
DockerDevice::~DockerDevice()
|
||||
{
|
||||
|
Reference in New Issue
Block a user