mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 14:47:34 +00:00
Meta+Applications: Make clang-format-10 clean
This commit is contained in:
parent
8940bc3503
commit
9ef1461ec9
27 changed files with 57 additions and 51 deletions
|
@ -33,9 +33,9 @@
|
|||
#include <LibJS/Interpreter.h>
|
||||
#include <LibWeb/DOM/DocumentType.h>
|
||||
#include <LibWeb/DOM/ElementFactory.h>
|
||||
#include <LibWeb/HTML/HTMLBodyElement.h>
|
||||
#include <LibWeb/DOM/Text.h>
|
||||
#include <LibWeb/DOMTreeModel.h>
|
||||
#include <LibWeb/HTML/HTMLBodyElement.h>
|
||||
|
||||
namespace Browser {
|
||||
|
||||
|
|
|
@ -36,9 +36,9 @@
|
|||
#include <LibJS/Runtime/Error.h>
|
||||
#include <LibWeb/DOM/DocumentType.h>
|
||||
#include <LibWeb/DOM/ElementFactory.h>
|
||||
#include <LibWeb/HTML/HTMLBodyElement.h>
|
||||
#include <LibWeb/DOM/Text.h>
|
||||
#include <LibWeb/DOMTreeModel.h>
|
||||
#include <LibWeb/HTML/HTMLBodyElement.h>
|
||||
|
||||
namespace Browser {
|
||||
|
||||
|
@ -94,7 +94,7 @@ ConsoleWidget::ConsoleWidget()
|
|||
output_html.append(String::format("<pre>%s</pre>", escape_html_entities(hint).characters()));
|
||||
m_interpreter->throw_exception<JS::SyntaxError>(error.to_string());
|
||||
} else {
|
||||
m_interpreter->run(m_interpreter->global_object(),*program);
|
||||
m_interpreter->run(m_interpreter->global_object(), *program);
|
||||
}
|
||||
|
||||
if (m_interpreter->exception()) {
|
||||
|
|
|
@ -78,7 +78,6 @@ DownloadWidget::DownloadWidget(const URL& url)
|
|||
browser_image.load_from_file("/res/graphics/download-animation.gif");
|
||||
animation_layout.add_spacer();
|
||||
|
||||
|
||||
auto& source_label = add<GUI::Label>(String::format("From: %s", url.to_string().characters()));
|
||||
source_label.set_text_alignment(Gfx::TextAlignment::CenterLeft);
|
||||
source_label.set_size_policy(GUI::SizePolicy::Fill, GUI::SizePolicy::Fixed);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue