diff options
| author | Jarek Kobus <[email protected]> | 2024-02-05 20:50:49 +0100 |
|---|---|---|
| committer | Jarek Kobus <[email protected]> | 2024-02-06 08:34:44 +0000 |
| commit | 8bcc78a04429f2736971054f15a4e3d4a8903183 (patch) | |
| tree | 3f9e846d6a4c189ab1afde6f55700bc69cc3507b /src/plugins/python/pythonbuildconfiguration.cpp | |
| parent | 97e582c3c0edbf9e646b9df667823bead5dd5e46 (diff) | |
Various plugins: Fix some more C++20 warnings about [=] captures
Change-Id: If20aac4320c84096a07d67cc137886638286acf8
Reviewed-by: hjk <[email protected]>
Reviewed-by: Qt CI Bot <[email protected]>
Diffstat (limited to 'src/plugins/python/pythonbuildconfiguration.cpp')
| -rw-r--r-- | src/plugins/python/pythonbuildconfiguration.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/python/pythonbuildconfiguration.cpp b/src/plugins/python/pythonbuildconfiguration.cpp index c958692a72e..9e1192bcd80 100644 --- a/src/plugins/python/pythonbuildconfiguration.cpp +++ b/src/plugins/python/pythonbuildconfiguration.cpp @@ -103,8 +103,9 @@ void PySideBuildStep::checkForPySide(const FilePath &python, const QString &pySi const PipPackage package(pySidePackageName); QObject::disconnect(m_watcherConnection); m_watcher.reset(new QFutureWatcher<PipPackageInfo>()); - m_watcherConnection = QObject::connect(m_watcher.get(), &QFutureWatcherBase::finished, this, [=] { - this->handlePySidePackageInfo(m_watcher->result(), python, pySidePackageName); + m_watcherConnection = QObject::connect(m_watcher.get(), &QFutureWatcherBase::finished, this, + [this, python, pySidePackageName] { + handlePySidePackageInfo(m_watcher->result(), python, pySidePackageName); }); const auto future = Pip::instance(python)->info(package); m_watcher->setFuture(future); |
