forked from qt-creator/qt-creator
Docker: Remove unused lambda captures
Avoids warnings. Change-Id: I9bf836ff24fa6524571d0303e544189340dede32 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -304,7 +304,7 @@ public:
|
||||
m_runAsOutsideUser->setChecked(dockerDevice->data().useLocalUidGid);
|
||||
m_runAsOutsideUser->setEnabled(HostOsInfo::isLinuxHost());
|
||||
|
||||
connect(m_runAsOutsideUser, &QCheckBox::toggled, this, [this, dockerDevice](bool on) {
|
||||
connect(m_runAsOutsideUser, &QCheckBox::toggled, this, [dockerDevice](bool on) {
|
||||
dockerDevice->data().useLocalUidGid = on;
|
||||
});
|
||||
|
||||
@@ -314,7 +314,7 @@ public:
|
||||
"mapped one-to-one into the docker container."));
|
||||
m_pathsLineEdit->setText(dockerDevice->data().mounts.join(';'));
|
||||
|
||||
connect(m_pathsLineEdit, &QLineEdit::textChanged, this, [this, dockerDevice](const QString &text) {
|
||||
connect(m_pathsLineEdit, &QLineEdit::textChanged, this, [dockerDevice](const QString &text) {
|
||||
dockerDevice->data().mounts = text.split(';');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user