mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Userland: Make Window::set_main_widget()
non-fallible
This commit is contained in:
parent
c9297126db
commit
3aa49f268c
Notes:
sideshowbarker
2024-07-16 21:42:29 +09:00
Author: https://github.com/tcl3
Commit: 3aa49f268c
Pull-request: https://github.com/SerenityOS/serenity/pull/21152
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
120 changed files with 144 additions and 133 deletions
|
@ -116,7 +116,7 @@ ComboBox::ComboBox()
|
|||
m_list_window = add<Window>(window());
|
||||
m_list_window->set_window_type(GUI::WindowType::Popup);
|
||||
|
||||
m_list_view = m_list_window->set_main_widget<ListView>().release_value_but_fixme_should_propagate_errors();
|
||||
m_list_view = m_list_window->set_main_widget<ListView>();
|
||||
m_list_view->set_should_hide_unnecessary_scrollbars(true);
|
||||
m_list_view->set_alternating_row_colors(false);
|
||||
m_list_view->set_hover_highlighting(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue