diff options
author | Merry <git@mary.rs> | 2023-11-21 23:57:09 +0100 |
---|---|---|
committer | Merry <git@mary.rs> | 2023-11-21 23:57:09 +0100 |
commit | c4f6c3b00be9e735444a8067b652f35a70268f4a (patch) | |
tree | 1cd1879f9c76ca7629abec0732c4b836185b2559 /src | |
parent | Merge pull request #12107 from daisymlleung/patch-1 (diff) | |
download | yuzu-c4f6c3b00be9e735444a8067b652f35a70268f4a.tar yuzu-c4f6c3b00be9e735444a8067b652f35a70268f4a.tar.gz yuzu-c4f6c3b00be9e735444a8067b652f35a70268f4a.tar.bz2 yuzu-c4f6c3b00be9e735444a8067b652f35a70268f4a.tar.lz yuzu-c4f6c3b00be9e735444a8067b652f35a70268f4a.tar.xz yuzu-c4f6c3b00be9e735444a8067b652f35a70268f4a.tar.zst yuzu-c4f6c3b00be9e735444a8067b652f35a70268f4a.zip |
Diffstat (limited to 'src')
-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); } |