diff options
Diffstat (limited to '')
| -rw-r--r-- | src/yuzu/configuration/shared_widget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/configuration/shared_widget.cpp b/src/yuzu/configuration/shared_widget.cpp index ea8d7add4..941683a43 100644 --- a/src/yuzu/configuration/shared_widget.cpp +++ b/src/yuzu/configuration/shared_widget.cpp | |||
| @@ -194,7 +194,7 @@ QWidget* Widget::CreateRadioGroup(std::function<std::string()>& serializer, | |||
| 194 | return group; | 194 | return group; |
| 195 | } | 195 | } |
| 196 | 196 | ||
| 197 | const auto get_selected = [=]() -> int { | 197 | const auto get_selected = [this]() -> int { |
| 198 | for (const auto& [id, button] : radio_buttons) { | 198 | for (const auto& [id, button] : radio_buttons) { |
| 199 | if (button->isChecked()) { | 199 | if (button->isChecked()) { |
| 200 | return id; | 200 | return id; |
| @@ -203,7 +203,7 @@ QWidget* Widget::CreateRadioGroup(std::function<std::string()>& serializer, | |||
| 203 | return -1; | 203 | return -1; |
| 204 | }; | 204 | }; |
| 205 | 205 | ||
| 206 | const auto set_index = [=](u32 value) { | 206 | const auto set_index = [this](u32 value) { |
| 207 | for (const auto& [id, button] : radio_buttons) { | 207 | for (const auto& [id, button] : radio_buttons) { |
| 208 | button->setChecked(id == value); | 208 | button->setChecked(id == value); |
| 209 | } | 209 | } |