forked from qt-creator/qt-creator
Docker: Allow changing useLocalUidGid on macOS
Change-Id: Ic09b292df6ffad8fbe2257a4f5fdb5fd44cd6e4f Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -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 "
|
m_runAsOutsideUser->setToolTip(Tr::tr("Uses user ID and group ID of the user running Qt Creator "
|
||||||
"in the docker container."));
|
"in the docker container."));
|
||||||
m_runAsOutsideUser->setChecked(m_data.useLocalUidGid);
|
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) {
|
connect(m_runAsOutsideUser, &QCheckBox::toggled, this, [this, dockerDevice](bool on) {
|
||||||
m_data.useLocalUidGid = on;
|
m_data.useLocalUidGid = on;
|
||||||
|
Reference in New Issue
Block a user