forked from qt-creator/qt-creator
AutoTest: Pass context object to lambda connections
Remove some unneeded lambda () brackets. Glue lambda brackets with parameters brackets. Change-Id: I414f7dbbaf60b452cb71f77d53d972937f121a47 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -86,8 +86,7 @@ ProjectTestSettingsWidget::ProjectTestSettingsWidget(ProjectExplorer::Project *p
|
||||
m_projectSettings->setRunAfterBuild(RunAfterBuildMode(index));
|
||||
});
|
||||
m_syncTimer.setSingleShot(true);
|
||||
connect(&m_syncTimer, &QTimer::timeout,
|
||||
[this]() {
|
||||
connect(&m_syncTimer, &QTimer::timeout, this, [this] {
|
||||
auto testTreeModel = TestTreeModel::instance();
|
||||
if (m_syncType & ITestBase::Framework)
|
||||
testTreeModel->synchronizeTestFrameworks();
|
||||
|
||||
Reference in New Issue
Block a user