mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +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,8 +1,8 @@
|
|||
#include <LibGUI/GToolBar.h>
|
||||
#include <LibGUI/GAction.h>
|
||||
#include <LibGUI/GBoxLayout.h>
|
||||
#include <LibGUI/GButton.h>
|
||||
#include <LibGUI/GAction.h>
|
||||
#include <LibGUI/GPainter.h>
|
||||
#include <LibGUI/GToolBar.h>
|
||||
|
||||
GToolBar::GToolBar(GWidget* parent)
|
||||
: GWidget(parent)
|
||||
|
@ -32,7 +32,7 @@ void GToolBar::add_action(Retained<GAction>&& action)
|
|||
button->set_icon(item->action->icon());
|
||||
else
|
||||
button->set_text(item->action->text());
|
||||
button->on_click = [raw_action_ptr] (const GButton&) {
|
||||
button->on_click = [raw_action_ptr](const GButton&) {
|
||||
raw_action_ptr->activate();
|
||||
};
|
||||
|
||||
|
@ -54,7 +54,7 @@ public:
|
|||
set_background_color(Color::White);
|
||||
set_preferred_size({ 8, 22 });
|
||||
}
|
||||
virtual ~SeparatorWidget() override { }
|
||||
virtual ~SeparatorWidget() override {}
|
||||
|
||||
virtual void paint_event(GPaintEvent& event) override
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue