mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
LibGUI: Convert GComboBox to ObjectPtr
This commit is contained in:
parent
7aaad27778
commit
e4e92980a1
Notes:
sideshowbarker
2024-07-19 12:01:46 +09:00
Author: https://github.com/awesomekling
Commit: e4e92980a1
3 changed files with 4 additions and 4 deletions
|
@ -33,7 +33,7 @@ GComboBox::GComboBox(GWidget* parent)
|
|||
m_list_window->set_window_type(GWindowType::Tooltip);
|
||||
m_list_window->set_should_destroy_on_close(false);
|
||||
|
||||
m_list_view = new GListView(nullptr);
|
||||
m_list_view = GListView::construct(nullptr);
|
||||
m_list_view->horizontal_scrollbar().set_visible(false);
|
||||
m_list_window->set_main_widget(m_list_view);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue