mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-13 22:01:53 +00:00
LibGUI: Use Core::Object::add() a whole bunch
This commit is contained in:
parent
8efafdfc12
commit
45c25ffecd
Notes:
sideshowbarker
2024-07-19 09:08:55 +09:00
Author: https://github.com/awesomekling
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