mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
LibGUI: Remove parent parameter to GUI::Widget constructor
This commit is contained in:
@@ -49,14 +49,8 @@
|
||||
|
||||
namespace GUI {
|
||||
|
||||
TextEditor::TextEditor(Widget* parent)
|
||||
: TextEditor(Type::MultiLine, parent)
|
||||
{
|
||||
}
|
||||
|
||||
TextEditor::TextEditor(Type type, Widget* parent)
|
||||
: ScrollableWidget(parent)
|
||||
, m_type(type)
|
||||
TextEditor::TextEditor(Type type)
|
||||
: m_type(type)
|
||||
{
|
||||
set_background_role(ColorRole::Base);
|
||||
set_foreground_role(ColorRole::BaseText);
|
||||
|
||||
Reference in New Issue
Block a user