diff --git a/src/controllers/legacycontrollersettings.cpp b/src/controllers/legacycontrollersettings.cpp index 4b4a26a58dd..f97d2b9d628 100644 --- a/src/controllers/legacycontrollersettings.cpp +++ b/src/controllers/legacycontrollersettings.cpp @@ -137,7 +137,7 @@ QWidget* LegacyControllerBooleanSetting::buildInputWidget(QWidget* pParent) { pCheckBox->setToolTip(QString("
%1
").arg(description())); } - connect(this, &AbstractLegacyControllerSetting::valueReset, pCheckBox, [this, &pCheckBox]() { + connect(this, &AbstractLegacyControllerSetting::valueReset, pCheckBox, [this, pCheckBox]() { pCheckBox->setCheckState(m_editedValue ? Qt::Checked : Qt::Unchecked); }); @@ -260,7 +260,7 @@ QWidget* LegacyControllerEnumSetting::buildInputWidget(QWidget* pParent) { } pComboBox->setCurrentIndex(static_cast