1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:38:11 +00:00

LibGUI: Remove parent parameter to GUI::Widget constructor

This commit is contained in:
Andreas Kling 2020-02-23 12:07:13 +01:00
parent 4ce28c32d1
commit c5d913970a
114 changed files with 207 additions and 313 deletions

View file

@ -32,14 +32,8 @@
namespace GUI {
Label::Label(Widget* parent)
: Label({}, parent)
{
}
Label::Label(const StringView& text, Widget* parent)
: Frame(parent)
, m_text(text)
Label::Label(const StringView& text)
: m_text(text)
{
set_frame_thickness(0);
set_frame_shadow(Gfx::FrameShadow::Plain);