LibGUI: Remove parent parameter to GUI::Widget constructor

This commit is contained in:
Andreas Kling 2020-02-23 12:07:13 +01:00
commit c5d913970a
Notes: sideshowbarker 2024-07-19 09:08:33 +09:00
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);