diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-23 12:07:13 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-23 12:27:53 +0100 |
commit | c5d913970ab122cdeaf23aea24e65efa6b425ab0 (patch) | |
tree | 07ef4cb2d039521ec7b1931c707b5196b7ea1628 /Libraries/LibGUI/Label.cpp | |
parent | 4ce28c32d1813b043758c0d15d5efc17452c2b77 (diff) | |
download | serenity-c5d913970ab122cdeaf23aea24e65efa6b425ab0.zip |
LibGUI: Remove parent parameter to GUI::Widget constructor
Diffstat (limited to 'Libraries/LibGUI/Label.cpp')
-rw-r--r-- | Libraries/LibGUI/Label.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Libraries/LibGUI/Label.cpp b/Libraries/LibGUI/Label.cpp index 09a4dc87be..aaab033106 100644 --- a/Libraries/LibGUI/Label.cpp +++ b/Libraries/LibGUI/Label.cpp @@ -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); |