forked from qt-creator/qt-creator
CMakeProjectManager: Pass context object to lambda connections
Remove some unneeded lambda () brackets. Remove some unneeded lambda return type specifiers. Change-Id: I9695367d66a151f2611554b9fe5897c1bac7ef5c Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -790,12 +790,12 @@ void CMakeBuildSystem::wireUpConnections()
|
||||
// trigger an initial parser run
|
||||
|
||||
// Became active/inactive:
|
||||
connect(target(), &Target::activeBuildConfigurationChanged, this, [this]() {
|
||||
connect(target(), &Target::activeBuildConfigurationChanged, this, [this] {
|
||||
// Build configuration has changed:
|
||||
qCDebug(cmakeBuildSystemLog) << "Requesting parse due to active BC changed";
|
||||
reparse(CMakeBuildSystem::REPARSE_DEFAULT);
|
||||
});
|
||||
connect(project(), &Project::activeTargetChanged, this, [this]() {
|
||||
connect(project(), &Project::activeTargetChanged, this, [this] {
|
||||
// Build configuration has changed:
|
||||
qCDebug(cmakeBuildSystemLog) << "Requesting parse due to active target changed";
|
||||
reparse(CMakeBuildSystem::REPARSE_DEFAULT);
|
||||
|
||||
Reference in New Issue
Block a user