summaryrefslogtreecommitdiff
path: root/Applications/Welcome/TextWidget.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-23 12:07:13 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-23 12:27:53 +0100
commitc5d913970ab122cdeaf23aea24e65efa6b425ab0 (patch)
tree07ef4cb2d039521ec7b1931c707b5196b7ea1628 /Applications/Welcome/TextWidget.cpp
parent4ce28c32d1813b043758c0d15d5efc17452c2b77 (diff)
downloadserenity-c5d913970ab122cdeaf23aea24e65efa6b425ab0.zip
LibGUI: Remove parent parameter to GUI::Widget constructor
Diffstat (limited to 'Applications/Welcome/TextWidget.cpp')
-rw-r--r--Applications/Welcome/TextWidget.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/Applications/Welcome/TextWidget.cpp b/Applications/Welcome/TextWidget.cpp
index 42fc489720..8d4bad08d0 100644
--- a/Applications/Welcome/TextWidget.cpp
+++ b/Applications/Welcome/TextWidget.cpp
@@ -33,14 +33,8 @@
#include <LibGfx/Font.h>
#include <LibGfx/Palette.h>
-TextWidget::TextWidget(GUI::Widget* parent)
- : GUI::Frame(parent)
-{
-}
-
-TextWidget::TextWidget(const StringView& text, GUI::Widget* parent)
- : GUI::Frame(parent)
- , m_text(text)
+TextWidget::TextWidget(const StringView& text)
+ : m_text(text)
{
}