forked from qt-creator/qt-creator
Docker: Pass context object to lambda connections
Remove some unneeded lambda () brackets. Change-Id: I2fcd83ec2e68a7aeb8f51fa39e7e69cc16e26bc8 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -109,7 +109,7 @@ DockerDeviceWidget::DockerDeviceWidget(const IDevice::Ptr &device)
|
||||
m_clangdExecutable->setAllowPathFromDevice(true);
|
||||
m_clangdExecutable->setFilePath(m_data.clangdExecutable);
|
||||
|
||||
connect(m_clangdExecutable, &PathChooser::rawPathChanged, this, [this, dockerDevice]() {
|
||||
connect(m_clangdExecutable, &PathChooser::rawPathChanged, this, [this, dockerDevice] {
|
||||
m_data.clangdExecutable = m_clangdExecutable->filePath();
|
||||
dockerDevice->setData(m_data);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user