forked from qt-creator/qt-creator
Work on lambdas C++20 compatibility
Change-Id: I0d391c02ae1e1c5a1751b33ca7e83902e1cfe269 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -112,7 +112,7 @@ void PySideBuildStep::checkForPySide(const FilePath &python, const QString &pySi
|
||||
QObject::disconnect(m_watcherConnection);
|
||||
m_watcher.reset(new QFutureWatcher<PipPackageInfo>());
|
||||
m_watcherConnection = QObject::connect(m_watcher.get(), &QFutureWatcherBase::finished, this, [=] {
|
||||
handlePySidePackageInfo(m_watcher->result(), python, pySidePackageName);
|
||||
this->handlePySidePackageInfo(m_watcher->result(), python, pySidePackageName);
|
||||
});
|
||||
const auto future = Pip::instance(python)->info(package);
|
||||
m_watcher->setFuture(future);
|
||||
@@ -258,7 +258,7 @@ PythonBuildConfiguration::PythonBuildConfiguration(Target *target, const Id &id)
|
||||
this,
|
||||
&PythonBuildConfiguration::handlePythonUpdated);
|
||||
|
||||
auto update = [this]() {
|
||||
auto update = [this] {
|
||||
if (isActive()) {
|
||||
m_buildSystem->emitBuildSystemUpdated();
|
||||
const FilePaths files = project()->files(Project::AllFiles);
|
||||
|
||||
Reference in New Issue
Block a user