'this' is not used in lambda function

This commit is contained in:
Herman Semenov 2024-01-29 12:38:35 +00:00 committed by karliss
parent e3087e727a
commit 7a812a11ec

View File

@ -38,7 +38,7 @@ AnalysisOptionsWidget::AnalysisOptionsWidget(PreferencesDialog *dialog)
QString val = confCheckbox.config;
QCheckBox &cb = *confCheckbox.checkBox;
connect(confCheckbox.checkBox, &QCheckBox::stateChanged, this,
[this, val, &cb]() { checkboxEnabler(&cb, val); });
[val, &cb]() { checkboxEnabler(&cb, val); });
}
ui->analyzePushButton->setToolTip("Analyze the program using Rizin's \"aaa\" command");