LibGUI: clang-format

This commit is contained in:
faissaloo 2019-06-16 21:01:51 +01:00
commit 55e115b0cd
Notes: sideshowbarker 2024-07-19 13:34:20 +09:00
4 changed files with 31 additions and 26 deletions

View file

@ -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;