1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 19:05:08 +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

@ -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);