Docker: Allow changing useLocalUidGid on macOS

Change-Id: Ic09b292df6ffad8fbe2257a4f5fdb5fd44cd6e4f
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Marcus Tillmanns
2022-10-13 14:56:22 +02:00
parent 9f0dcd71c4
commit 991cd54639

View File

@@ -81,7 +81,7 @@ DockerDeviceWidget::DockerDeviceWidget(const IDevice::Ptr &device)
m_runAsOutsideUser->setToolTip(Tr::tr("Uses user ID and group ID of the user running Qt Creator "
"in the docker container."));
m_runAsOutsideUser->setChecked(m_data.useLocalUidGid);
m_runAsOutsideUser->setEnabled(HostOsInfo::isLinuxHost());
m_runAsOutsideUser->setEnabled(HostOsInfo::isAnyUnixHost());
connect(m_runAsOutsideUser, &QCheckBox::toggled, this, [this, dockerDevice](bool on) {
m_data.useLocalUidGid = on;