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:
parent
8efafdfc12
commit
45c25ffecd
11 changed files with 52 additions and 52 deletions
|
@ -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&) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue