1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 17:45:07 +00:00

LibGUI: Use Core::Object::add() a whole bunch

This commit is contained in:
Andreas Kling 2020-02-23 10:31:26 +01:00
parent 8efafdfc12
commit 45c25ffecd
11 changed files with 52 additions and 52 deletions

View file

@ -47,7 +47,7 @@ ComboBox::ComboBox(Widget* parent)
if (on_return_pressed)
on_return_pressed();
};
m_open_button = Button::construct(this);
m_open_button = add<Button>();
m_open_button->set_focusable(false);
m_open_button->set_text("\xc3\xb7");
m_open_button->on_click = [this](auto&) {