1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-19 06:07:39 +00:00

LibGUI: clang-format

This commit is contained in:
faissaloo 2019-06-16 21:01:51 +01:00
parent 770907f90c
commit 55e115b0cd
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;