mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 20:17:34 +00:00
Userland: Replace all uses of load_from_gml
with try_load_from_gml
MOAR FIXMES! ;^)
This commit is contained in:
parent
703da34947
commit
54b1326165
78 changed files with 94 additions and 111 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
HighlightWidget::HighlightWidget()
|
||||
{
|
||||
load_from_gml(highlight_widget_gml);
|
||||
try_load_from_gml(highlight_widget_gml).release_value_but_fixme_should_propagate_errors();
|
||||
|
||||
m_highlight_preview = find_descendant_of_type_named<GUI::Frame>("preview_frame")->add<MouseSettings::HighlightPreviewWidget>(palette());
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ constexpr int double_click_speed_default = 250;
|
|||
|
||||
MouseWidget::MouseWidget()
|
||||
{
|
||||
load_from_gml(mouse_widget_gml);
|
||||
try_load_from_gml(mouse_widget_gml).release_value_but_fixme_should_propagate_errors();
|
||||
|
||||
m_speed_label = *find_descendant_of_type_named<GUI::Label>("speed_label");
|
||||
m_speed_slider = *find_descendant_of_type_named<GUI::HorizontalSlider>("speed_slider");
|
||||
|
|
|
@ -98,7 +98,7 @@ void ThemeModel::invalidate()
|
|||
|
||||
ThemeWidget::ThemeWidget()
|
||||
{
|
||||
load_from_gml(theme_widget_gml);
|
||||
try_load_from_gml(theme_widget_gml).release_value_but_fixme_should_propagate_errors();
|
||||
m_cursors_tableview = find_descendant_of_type_named<GUI::TableView>("cursors_tableview");
|
||||
m_cursors_tableview->set_highlight_selected_rows(true);
|
||||
m_cursors_tableview->set_alternating_row_colors(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue