Skip to content

Commit

Permalink
'this' is not used in lambda function
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanAizek authored and karliss committed Jan 29, 2024
1 parent e3087e7 commit 7a812a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dialogs/preferences/AnalysisOptionsWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 7a812a1

Please sign in to comment.