Use 4arg connect

This commit is contained in:
Jonas Kvinge
2021-08-25 02:55:00 +02:00
parent 709a706853
commit 336c6cdd9d
4 changed files with 4 additions and 4 deletions

View File

@@ -139,7 +139,7 @@ void SmartPlaylistWizard::AddPlugin(SmartPlaylistWizardPlugin *plugin) {
type_page_->layout()->addWidget(radio_button);
type_page_->layout()->addWidget(description);
QObject::connect(radio_button, &QRadioButton::clicked, [this, index]() { TypeChanged(index); });
QObject::connect(radio_button, &QRadioButton::clicked, this, [this, index]() { TypeChanged(index); });
if (index == 0) {
radio_button->setChecked(true);