mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
Demos: Run clang-format on everything.
This commit is contained in:
parent
3ca332af42
commit
2c70ae0418
4 changed files with 22 additions and 20 deletions
|
@ -1,9 +1,9 @@
|
|||
#include <LibGUI/GApplication.h>
|
||||
#include <LibGUI/GWindow.h>
|
||||
#include <LibGUI/GWidget.h>
|
||||
#include <LibGUI/GLabel.h>
|
||||
#include <LibGUI/GButton.h>
|
||||
#include <LibGUI/GBoxLayout.h>
|
||||
#include <LibGUI/GButton.h>
|
||||
#include <LibGUI/GLabel.h>
|
||||
#include <LibGUI/GWidget.h>
|
||||
#include <LibGUI/GWindow.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
|
@ -27,7 +27,7 @@ int main(int argc, char** argv)
|
|||
button->set_text("Good-bye");
|
||||
button->set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
|
||||
button->set_preferred_size({ 0, 20 });
|
||||
button->on_click = [&] (GButton&) {
|
||||
button->on_click = [&](GButton&) {
|
||||
app.quit();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue