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:
Jarek Kobus
2022-12-07 23:47:15 +01:00
parent 9e571931d0
commit c5a60d2dc2
2 changed files with 4 additions and 4 deletions

View File

@@ -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);
});