mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 15:19:16 +00:00
LibGUI: clang-format
This commit is contained in:
parent
770907f90c
commit
55e115b0cd
Notes:
sideshowbarker
2024-07-19 13:34:20 +09:00
Author: https://github.com/faissaloo
Commit: 55e115b0cd
Pull-request: https://github.com/SerenityOS/serenity/pull/173
Reviewed-by: https://github.com/awesomekling
4 changed files with 31 additions and 26 deletions
|
@ -31,7 +31,7 @@ void GAbstractButton::set_checked(bool checked)
|
|||
m_checked = checked;
|
||||
|
||||
if (is_exclusive() && checked) {
|
||||
parent_widget()->for_each_child_of_type<GAbstractButton>([&] (auto& sibling) {
|
||||
parent_widget()->for_each_child_of_type<GAbstractButton>([&](auto& sibling) {
|
||||
if (!sibling.is_exclusive() || !sibling.is_checkable() || !sibling.is_checked())
|
||||
return IterationDecision::Continue;
|
||||
sibling.m_checked = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue