Remove unused lambda capture.

This commit is contained in:
Roman Telezhynskyi 2023-01-16 18:06:06 +02:00
parent 7ea8441271
commit 00e7e57a69

View file

@ -5633,7 +5633,7 @@ void MainWindow::CreateActions()
connect(ui->actionLast_tool, &QAction::triggered, this, &MainWindow::LastUsedTool);
ui->actionInteractiveTools->setChecked(VAbstractValApplication::VApp()->ValentinaSettings()->IsInteractiveTools());
connect(ui->actionInteractiveTools, &QAction::triggered, this, [this](bool checked)
connect(ui->actionInteractiveTools, &QAction::triggered, this, [](bool checked)
{
VAbstractValApplication::VApp()->ValentinaSettings()->SetInteractiveTools(checked);
});