mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
LibGUI: Run clang-format on everything.
This commit is contained in:
parent
bc951ca565
commit
7ad8790d80
43 changed files with 525 additions and 363 deletions
|
@ -1,5 +1,5 @@
|
|||
#include <LibGUI/GRadioButton.h>
|
||||
#include <LibGUI/GPainter.h>
|
||||
#include <LibGUI/GRadioButton.h>
|
||||
#include <SharedGraphics/GraphicsBitmap.h>
|
||||
|
||||
static RetainPtr<GraphicsBitmap> s_unfilled_circle_bitmap;
|
||||
|
@ -55,7 +55,7 @@ void GRadioButton::for_each_in_group(Callback callback)
|
|||
{
|
||||
if (!parent())
|
||||
return;
|
||||
parent()->for_each_child_of_type<GRadioButton>([&] (auto& child) {
|
||||
parent()->for_each_child_of_type<GRadioButton>([&](auto& child) {
|
||||
return callback(static_cast<GRadioButton&>(child));
|
||||
});
|
||||
}
|
||||
|
@ -64,7 +64,7 @@ void GRadioButton::click()
|
|||
{
|
||||
if (!is_enabled())
|
||||
return;
|
||||
for_each_in_group([this] (auto& button) {
|
||||
for_each_in_group([this](auto& button) {
|
||||
if (&button != this)
|
||||
button.set_checked(false);
|
||||
return IterationDecision::Continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue