mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +00:00
LibGUI: clang-format
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user