forked from qt-creator/qt-creator
Clean up some lambdas
Change-Id: Id947c0935b1aa4579e1c64d3e510db41103fbe27 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -87,7 +87,7 @@ QmlBuildSystem::QmlBuildSystem(Target *target)
|
||||
refresh(RefreshOptions::NoFileRefresh);
|
||||
updateMcuBuildStep(target, qtForMCUs());
|
||||
});
|
||||
connect(target->project(), &Project::projectFileIsDirty, this, [this]() {
|
||||
connect(target->project(), &Project::projectFileIsDirty, this, [this] {
|
||||
refresh(RefreshOptions::Project);
|
||||
updateMcuBuildStep(project()->activeTarget(), qtForMCUs());
|
||||
});
|
||||
|
||||
@@ -211,7 +211,7 @@ FilePath QmlProjectRunConfiguration::qmlRuntimeFilePath() const
|
||||
if (!qmlRuntime.isEmpty())
|
||||
return qmlRuntime;
|
||||
}
|
||||
auto hasDeployStep = [this]() {
|
||||
auto hasDeployStep = [this] {
|
||||
return target()->activeDeployConfiguration() &&
|
||||
!target()->activeDeployConfiguration()->stepList()->isEmpty();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user