mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 21:27:36 +00:00
LibGUI+Userland: Rename try_load_from_gml()
-> load_from_gml()
:^)
It's the only one, so the `try` prefix is unnecessary now.
This commit is contained in:
parent
e4e12f3a96
commit
f0395a2042
85 changed files with 107 additions and 107 deletions
|
@ -59,7 +59,7 @@ private:
|
|||
|
||||
BrowserSettingsWidget::BrowserSettingsWidget()
|
||||
{
|
||||
try_load_from_gml(browser_settings_widget_gml).release_value_but_fixme_should_propagate_errors();
|
||||
load_from_gml(browser_settings_widget_gml).release_value_but_fixme_should_propagate_errors();
|
||||
|
||||
m_homepage_url_textbox = find_descendant_of_type_named<GUI::TextBox>("homepage_url_textbox");
|
||||
m_homepage_url_textbox->set_text(Config::read_string("Browser"sv, "Preferences"sv, "Home"sv, default_homepage_url), GUI::AllowCallback::No);
|
||||
|
|
|
@ -108,7 +108,7 @@ void DomainListModel::reset_default_values()
|
|||
|
||||
ContentFilterSettingsWidget::ContentFilterSettingsWidget()
|
||||
{
|
||||
try_load_from_gml(content_filter_settings_widget_gml).release_value_but_fixme_should_propagate_errors();
|
||||
load_from_gml(content_filter_settings_widget_gml).release_value_but_fixme_should_propagate_errors();
|
||||
m_enable_content_filtering_checkbox = find_descendant_of_type_named<GUI::CheckBox>("enable_content_filtering_checkbox");
|
||||
m_domain_list_view = find_descendant_of_type_named<GUI::ListView>("domain_list_view");
|
||||
m_add_new_domain_button = find_descendant_of_type_named<GUI::Button>("add_new_domain_button");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue