From 7a812a11ecfba78c421f223f3b79bb282c29aa68 Mon Sep 17 00:00:00 2001 From: Herman Semenov Date: Mon, 29 Jan 2024 12:38:35 +0000 Subject: [PATCH] 'this' is not used in lambda function --- src/dialogs/preferences/AnalysisOptionsWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs/preferences/AnalysisOptionsWidget.cpp b/src/dialogs/preferences/AnalysisOptionsWidget.cpp index 53d00f2f..539ea968 100644 --- a/src/dialogs/preferences/AnalysisOptionsWidget.cpp +++ b/src/dialogs/preferences/AnalysisOptionsWidget.cpp @@ -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");