Remove unused lambda capture.

(cherry picked from commit 00e7e57a69)
This commit is contained in:
Roman Telezhynskyi 2023-01-16 18:06:06 +02:00
parent f54de83886
commit 16c5117b9c

View File

@ -5633,7 +5633,7 @@ void MainWindow::CreateActions()
connect(ui->actionLast_tool, &QAction::triggered, this, &MainWindow::LastUsedTool); connect(ui->actionLast_tool, &QAction::triggered, this, &MainWindow::LastUsedTool);
ui->actionInteractiveTools->setChecked(VAbstractValApplication::VApp()->ValentinaSettings()->IsInteractiveTools()); 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); VAbstractValApplication::VApp()->ValentinaSettings()->SetInteractiveTools(checked);
}); });