mirror of
https://github.com/RGBCube/serenity
synced 2025-07-19 06:07:39 +00:00
LibGUI: clang-format
This commit is contained in:
parent
770907f90c
commit
55e115b0cd
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