diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-11-21 22:17:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-21 22:17:42 -0500 |
commit | 91c12db07098625756338e682a4d300a27d7978c (patch) | |
tree | d2afd7bce076844949ed5829dd19f46e64b9a4a1 /src/yuzu/configuration/shared_widget.cpp | |
parent | cddb28cf26cfded4f1e4a4933f8d0b11ae812e1a (diff) | |
parent | b088a448cdc6ab66ea3a95fe40b158ab6030c2c2 (diff) |
Merge pull request #12123 from merryhime/explicit-this
Explicit this
Diffstat (limited to 'src/yuzu/configuration/shared_widget.cpp')
-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, return group; } - const auto get_selected = [=]() -> int { + const auto get_selected = [this]() -> int { for (const auto& [id, button] : radio_buttons) { if (button->isChecked()) { return id; @@ -203,7 +203,7 @@ QWidget* Widget::CreateRadioGroup(std::function<std::string()>& serializer, return -1; }; - const auto set_index = [=](u32 value) { + const auto set_index = [this](u32 value) { for (const auto& [id, button] : radio_buttons) { button->setChecked(id == value); } |